#2C407B#2C407B
#2C407B is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.8% C 0.103 H 267.4°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).
Color values
| HEX | #2C407B |
|---|---|
| RGB | rgb(44, 64, 123) |
| HSL | hsl(225, 47%, 33%) |
| HSV | hsv(225, 64%, 48%) |
| CMYK | cmyk(64.2%, 48%, 0%, 51.8%) |
| CIE-LAB | lab(28.46, 12.25, -36.04) |
| CIE-LCH | lch(28.46, 38.06, 288.77°) |
| OKLab | oklab(38.77% -0.0047 -0.1029) |
| OKLCH | oklch(38.77% 0.103 267.4) |
| XYZ | xyz(6.4460, 5.6318, 19.4824) |
| Luminance | 0.0563 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.59
Darkish Blue
#014182
ΔE00 4.82
Twilight Blue
#0A437A
ΔE00 5.30
Marine Blue
#01386A
ΔE00 5.73
Blueberry
#464196
ΔE00 6.75
Prussian Blue
#004577
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C407B #7B672C
analogous
#2C677B #2C407B #3F2C7B
triadic
#2C407B #7B2C40 #407B2C
tetradic
#2C407B #7B2C67 #7B672C #2C7B3F
square
#2C407B #7B2C67 #7B672C #2C7B3F
split-complementary
#2C407B #7B3F2C #677B2C
monochromatic
#0C1121 #1C294E #2C407B #3C57A8 #5D77C5
Accessibility & contrast
On white
9.88
#2C407B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#2C407B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C407B
9.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C407B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C407B | 1.00 | 9.88 | 2.13 | 9.88 |
| #FFFFFF | 9.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#24477D
Deuteranopia (green-blind)
#16407A
Tritanopia (blue-blind)
#004D57
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2c407b; /* rgb */ color: rgb(44, 64, 123); /* oklch */ color: oklch(38.8% 0.103 267.4);
Tailwind
colors: {
custom: {
50: '#6d74a1',
500: '#2c407b',
950: '#000000',
},
}SCSS
$custom: #2c407b; $custom-light: #6d74a1; $custom-dark: #000000;
JSON
{
"hex": "#2c407b",
"rgb": {
"r": 44,
"g": 64,
"b": 123
},
"hsl": {
"h": 224.81,
"s": 47.305,
"l": 32.745
},
"oklch": {
"l": 0.38767,
"c": 0.10305,
"h": 267.4
},
"luminance": 0.05632
}Semantic roles & 50–950 ramp
primary
#2C407B
secondary
#AB9658
accent
#B551D7
background
#F6F7FA
surface
#ECEDF3
border
#C7C8CD
text
#08080F
muted
#7B7B7F