#2C3F87#2C3F87
#2C3F87 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.4% C 0.122 H 269.0°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3F87 |
|---|---|
| RGB | rgb(44, 63, 135) |
| HSL | hsl(227, 51%, 35%) |
| HSV | hsv(227, 67%, 53%) |
| CMYK | cmyk(67.4%, 53.3%, 0%, 47.1%) |
| CIE-LAB | lab(29.00, 17.46, -42.66) |
| CIE-LCH | lch(29.00, 46.09, 292.26°) |
| OKLab | oklab(39.44% -0.0021 -0.1224) |
| OKLCH | oklch(39.44% 0.122 269) |
| XYZ | xyz(7.1879, 5.8391, 23.6652) |
| Luminance | 0.0584 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.38
Blueberry
#464196
ΔE00 5.21
Darkish Blue
#014182
ΔE00 5.24
Darkslateblue
#483D8B
ΔE00 5.88
Twilight Blue
#0A437A
ΔE00 6.11
Cobalt
#0047AB
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3F87 #87742C
analogous
#2C6C87 #2C3F87 #472C87
triadic
#2C3F87 #872C3F #3F872C
tetradic
#2C3F87 #872C6C #87742C #2C8747
square
#2C3F87 #872C6C #87742C #2C8747
split-complementary
#2C3F87 #87472C #6C872C
monochromatic
#0E142B #1D2959 #2C3F87 #3B55B5 #6278CC
Accessibility & contrast
On white
9.69
#2C3F87 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#2C3F87 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3F87
9.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3F87 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3F87 | 1.00 | 9.69 | 2.17 | 9.69 |
| #FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#13498A
Deuteranopia (green-blind)
#004086
Tritanopia (blue-blind)
#00505C
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2c3f87; /* rgb */ color: rgb(44, 63, 135); /* oklch */ color: oklch(39.4% 0.122 269.0);
Tailwind
colors: {
custom: {
50: '#7073aa',
500: '#2c3f87',
950: '#000000',
},
}SCSS
$custom: #2c3f87; $custom-light: #7073aa; $custom-dark: #000000;
JSON
{
"hex": "#2c3f87",
"rgb": {
"r": 44,
"g": 63,
"b": 135
},
"hsl": {
"h": 227.473,
"s": 50.838,
"l": 35.098
},
"oklch": {
"l": 0.39443,
"c": 0.12244,
"h": 269
},
"luminance": 0.0584
}Semantic roles & 50–950 ramp
primary
#2C3F87
secondary
#B2A05D
accent
#BD4DDA
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F