#2C418B#2C418B
#2C418B is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.2% C 0.126 H 268.3°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).
Color values
| HEX | #2C418B |
|---|---|
| RGB | rgb(44, 65, 139) |
| HSL | hsl(227, 52%, 36%) |
| HSV | hsv(227, 68%, 55%) |
| CMYK | cmyk(68.3%, 53.2%, 0%, 45.5%) |
| CIE-LAB | lab(29.86, 17.62, -43.75) |
| CIE-LCH | lch(29.86, 47.16, 291.93°) |
| OKLab | oklab(40.18% -0.0037 -0.1256) |
| OKLCH | oklch(40.18% 0.126 268.3) |
| XYZ | xyz(7.5876, 6.1794, 25.2140) |
| Luminance | 0.0618 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.76
Darkish Blue
#014182
ΔE00 5.04
Blueberry
#464196
ΔE00 5.16
Cobalt
#0047AB
ΔE00 5.40
Twilight Blue
#0A437A
ΔE00 5.94
Sapphire (survey)
#2138AB
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C418B #8B762C
analogous
#2C708B #2C418B #462C8B
triadic
#2C418B #8B2C41 #418B2C
tetradic
#2C418B #8B2C70 #8B762C #2C8B46
square
#2C418B #8B2C70 #8B762C #2C8B46
split-complementary
#2C418B #8B462C #708B2C
monochromatic
#0F162E #1D2B5D #2C418B #3B57B9 #647BCE
Accessibility & contrast
On white
9.39
#2C418B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#2C418B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C418B
9.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C418B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C418B | 1.00 | 9.39 | 2.24 | 9.39 |
| #FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#134B8E
Deuteranopia (green-blind)
#004289
Tritanopia (blue-blind)
#00525F
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2c418b; /* rgb */ color: rgb(44, 65, 139); /* oklch */ color: oklch(40.2% 0.126 268.3);
Tailwind
colors: {
custom: {
50: '#7175ad',
500: '#2c418b',
950: '#000000',
},
}SCSS
$custom: #2c418b; $custom-light: #7175ad; $custom-dark: #000000;
JSON
{
"hex": "#2c418b",
"rgb": {
"r": 44,
"g": 65,
"b": 139
},
"hsl": {
"h": 226.737,
"s": 51.913,
"l": 35.882
},
"oklch": {
"l": 0.40184,
"c": 0.12565,
"h": 268.3
},
"luminance": 0.0618
}Semantic roles & 50–950 ramp
primary
#2C418B
secondary
#B4A15F
accent
#BC4CDB
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F