#2C4287#2C4287
#2C4287 is a dark, moderate blue. Relative luminance 0.062; OKLCH L 40.1% C 0.118 H 267.5°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4287 |
|---|---|
| RGB | rgb(44, 66, 135) |
| HSL | hsl(225, 51%, 35%) |
| HSV | hsv(225, 67%, 53%) |
| CMYK | cmyk(67.4%, 51.1%, 0%, 47.1%) |
| CIE-LAB | lab(29.86, 15.42, -41.27) |
| CIE-LCH | lch(29.86, 44.06, 290.48°) |
| OKLab | oklab(40.1% -0.0051 -0.1183) |
| OKLCH | oklch(40.1% 0.118 267.5) |
| XYZ | xyz(7.3586, 6.1805, 23.7221) |
| Luminance | 0.0618 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.45
Darkish Blue
#014182
ΔE00 4.64
Twilight Blue
#0A437A
ΔE00 5.42
Cobalt
#0047AB
ΔE00 5.69
Blueberry
#464196
ΔE00 5.71
Darkslateblue
#483D8B
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4287 #87712C
analogous
#2C6F87 #2C4287 #442C87
triadic
#2C4287 #872C42 #42872C
tetradic
#2C4287 #872C6F #87712C #2C8744
square
#2C4287 #872C6F #87712C #2C8744
split-complementary
#2C4287 #87442C #6F872C
monochromatic
#0E152B #1D2B59 #2C4287 #3B59B5 #627BCC
Accessibility & contrast
On white
9.39
#2C4287 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#2C4287 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4287
9.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4287 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4287 | 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)
#1C4B8A
Deuteranopia (green-blind)
#034286
Tritanopia (blue-blind)
#00525E
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2c4287; /* rgb */ color: rgb(44, 66, 135); /* oklch */ color: oklch(40.1% 0.118 267.5);
Tailwind
colors: {
custom: {
50: '#7076aa',
500: '#2c4287',
950: '#000000',
},
}SCSS
$custom: #2c4287; $custom-light: #7076aa; $custom-dark: #000000;
JSON
{
"hex": "#2c4287",
"rgb": {
"r": 44,
"g": 66,
"b": 135
},
"hsl": {
"h": 225.495,
"s": 50.838,
"l": 35.098
},
"oklch": {
"l": 0.40096,
"c": 0.1184,
"h": 267.5
},
"luminance": 0.06181
}Semantic roles & 50–950 ramp
primary
#2C4287
secondary
#B29D5D
accent
#B84DDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F