#0000CD Color Details, Palettes & Contrast

All the conversions, harmonies, and accessibility checks you need to design with confidence.

RGB:rgb(0, 0, 205)
HSL:hsl(240, 100%, 40%)
HEX
#0000CD
RGB
0, 0, 205
HSL
240°, 100%, 40%
HSV
240°, 100%, 80%
CMYK
100%, 100%, 0%, 20%

Color Conversion

Generate values across multiple color models in one place.

#0000CD

Tints & shades

Explore how #0000CD behaves when you mix it with white or black. These swatches are perfect for hover states, shadows, and backgrounds.

Hover to copy any hex value and reuse it across your interface.

Shades

0–100%
0%#0000CC
10%#0000B8
20%#0000A3
30%#00008F
40%#00007A
50%#000066
60%#000052
70%#00003D
80%#000029
90%#000014
100%#000000

Tints

0–100%
0%#0000CC
10%#0000EB
20%#0A0AFF
30%#2929FF
40%#4747FF
50%#6666FF
60%#8585FF
70%#A3A3FF
80%#C2C2FF
90%#E0E0FF
100%#FFFFFF

Common use cases

  • UI component states (hover, active, disabled)
  • Creating depth with shadows and highlights
  • Building consistent color systems

Design system

Design system tip

These variations form the foundation of a cohesive palette. Export them to keep marketing, product, and engineering aligned.

Export palette

Color harmonies

Build balanced palettes instantly with harmonies generated from #0000CD.

Click any swatch to open its own detail page and keep exploring.

How to use

Pick one dominant color, then let supporting hues act as accents for typography, surfaces, and call-to-action buttons.

Why it matters

Balanced harmonies communicate intent—calm, energetic, premium—without overwhelming your layout.

Complementary

Opposite hues that create impact and bold contrast.

Suggested for

High-impact CTAs, logos, and hero sections

Analogous

Neighboring hues for natural, fluid gradients.

Suggested for

Nature-inspired, calming dashboards

Triadic

Three evenly spaced hues for playful balance.

Suggested for

Playful branding and editorial layouts

Tetradic

Two complementary pairs that deliver rich variety.

Suggested for

Illustrations and marketing experiments

Monochromatic

Lighter and darker siblings inside the same hue family.

Suggested for

Minimalist interfaces and premium UI states

Accessibility contrast

Check how readable #0000CD is with common text colors so every visitor enjoys a clear experience.

Use AA as the baseline for body copy and AAA for premium accessibility.

Sample text on black text
Text color#000000
Background#0000CD
Contrast ratio1.88:1
WCAG levelFail
Sample text on white text
Text color#FFFFFF
Background#0000CD
Contrast ratio11.16:1
WCAG levelAAA
Recommended text preview
Text color#FFFFFF
Background#0000CD
Contrast ratio11.16:1
WCAG levelAAA

Technical Formats

Advanced color formats used in design systems.

HEX
#0000CD
RGB
rgb(0, 0, 205)
HSL
hsl(240, 100%, 40.2%)
HSV
hsv(240.00 100.00% 80.39%)
LAB
lab(22.66 57.93 -95.04)
LCH
lch(22.66 111.30 301.36)
OKLAB
oklab(0.38 -0.0275 -0.2643)
OKLCH
oklch(0.38 0.2657 264.05)
Display P3
color(display-p3 3.5860203695392556e-16 -8.965050923848139e-17 0.7710204164767929)
CSS Color Level 4
color(srgb 0 0 0.803921568627451)
XYZ
color(xyz-d65 0.1102 0.0441 0.5803)
CMYK
cmyk(100.00% 100.00% 0.00% 19.61%)

Practical Formats

Variables, config files, and code snippets.

CSS Variable
--color-brand-primary: #0000CD;
CSS RGB Variable
--color-brand-primary-rgb: 0, 0, 205;
SCSS Variable
$color-brand-primary: #0000CD;
Tailwind Config
"brand-primary": "#0000CD"
JavaScript
const brandprimary = "#0000CD";
Design Token JSON
{
  "color": {
    "brand-primary": {
      "value": "#0000CD",
      "type": "color"
    }
  }
}
SVG Fill
<rect fill="#0000CD" />
Android XML
<color name="brand_primary">#0000CD</color>
iOS Swift
UIColor(red: 0.000, green: 0.000, blue: 0.804, alpha: 1.0)
HSL CSS Variable
--color-brand-primary-hsl: 240.00 100.00% 40.20%;

Color Analysis

Deep dive into color properties and accessibility.

Closest Color Name
mediumblue
Temperature
Cool
Hue Family
Blue
Relative Luminance
0.0441
Saturation Level
Highly saturated
Lightness Level
Medium

Blindness Simulator

How this color appears under color vision deficiencies.

Protanopia

Red-blind simulation

#0000CD

Deuteranopia

Green-blind simulation

#0000CD

Tritanopia

Blue-blind simulation

#001A1A

Achromatopsia

No-color simulation

#0F0F0F

Creative Aspects

Palettes, gradients, and moods.

Complementary

#0000CD#CDCD00

Analogous

#0066CD#0000CD#6600CD

Triadic

#0000CD#CD0000#00CD00

Tetradic

#0000CD#CD0067#CDCD00#00CD67

Monochromatic

#A06AFF#6A3BE6#0000CD#00009B#00006B

Tints

#FFFFFF#D5C1F5#A785E9#714BDB#0000CD

Shades

#0000CD#0000BB#0000AA#000098#000000

Gradient Flow

#0055CD#0039D0#0000CD#3B00CD#5500CD

Design guidance

Balance

Treat #0000CD as a highlight. Pair it with neutrals and one supporting hue to avoid visual overload.

Contrast

Test combinations with real content. Higher contrast improves scanning, readability, and conversions.

Harmony

Use lighter tints for surfaces, the base color for primaries, and darker shades for hover or pressed states.

Need another color?

Jump back to the color picker to upload images, generate palettes, and explore new color relationships.

Pick Another Color