#2C3087#2C3087
#2C3087 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.4% C 0.142 H 274.8°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3087 |
|---|---|
| RGB | rgb(44, 48, 135) |
| HSL | hsl(237, 51%, 35%) |
| HSV | hsv(237, 67%, 53%) |
| CMYK | cmyk(67.4%, 64.4%, 0%, 47.1%) |
| CIE-LAB | lab(24.95, 27.64, -49.24) |
| CIE-LCH | lch(24.95, 56.47, 299.30°) |
| OKLab | oklab(36.42% 0.0119 -0.142) |
| OKLCH | oklch(36.42% 0.142 274.8) |
| XYZ | xyz(6.4674, 4.3981, 23.4251) |
| Luminance | 0.0440 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.40
Sapphire (survey)
#2138AB
ΔE00 5.63
Blueberry
#464196
ΔE00 5.82
Midnight Blue
#191970
ΔE00 6.70
Royal
#0C1793
ΔE00 6.91
Marine
#042E60
ΔE00 8.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3087 #87832C
analogous
#2C5D87 #2C3087 #562C87
triadic
#2C3087 #872C30 #30872C
tetradic
#2C3087 #872C5D #87832C #2C8756
square
#2C3087 #872C5D #87832C #2C8756
split-complementary
#2C3087 #87562C #5D872C
monochromatic
#0E0F2B #1D2059 #2C3087 #3B40B5 #6266CC
Accessibility & contrast
On white
11.17
#2C3087 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#2C3087 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3087
11.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3087 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3087 | 1.00 | 11.17 | 1.88 | 11.17 |
| #FFFFFF | 11.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F8A
Deuteranopia (green-blind)
#003785
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2c3087; /* rgb */ color: rgb(44, 48, 135); /* oklch */ color: oklch(36.4% 0.142 274.8);
Tailwind
colors: {
custom: {
50: '#7168ab',
500: '#2c3087',
950: '#000000',
},
}SCSS
$custom: #2c3087; $custom-light: #7168ab; $custom-dark: #000000;
JSON
{
"hex": "#2c3087",
"rgb": {
"r": 44,
"g": 48,
"b": 135
},
"hsl": {
"h": 237.363,
"s": 50.838,
"l": 35.098
},
"oklch": {
"l": 0.36418,
"c": 0.14245,
"h": 274.8
},
"luminance": 0.04399
}Semantic roles & 50–950 ramp
primary
#2C3087
secondary
#B2AE5D
accent
#D44DDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F