#2C3187#2C3187
#2C3187 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.6% C 0.141 H 274.5°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3187 |
|---|---|
| RGB | rgb(44, 49, 135) |
| HSL | hsl(237, 51%, 35%) |
| HSV | hsv(237, 67%, 53%) |
| CMYK | cmyk(67.4%, 63.7%, 0%, 47.1%) |
| CIE-LAB | lab(25.20, 26.97, -48.83) |
| CIE-LCH | lch(25.20, 55.78, 298.91°) |
| OKLab | oklab(36.61% 0.011 -0.1407) |
| OKLCH | oklch(36.61% 0.141 274.5) |
| XYZ | xyz(6.5087, 4.4808, 23.4389) |
| Luminance | 0.0448 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.28
Sapphire (survey)
#2138AB
ΔE00 5.54
Blueberry
#464196
ΔE00 5.65
Midnight Blue
#191970
ΔE00 6.95
Royal
#0C1793
ΔE00 7.20
Marine
#042E60
ΔE00 8.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3187 #87822C
analogous
#2C5F87 #2C3187 #542C87
triadic
#2C3187 #872C31 #31872C
tetradic
#2C3187 #872C5F #87822C #2C8754
square
#2C3187 #872C5F #87822C #2C8754
split-complementary
#2C3187 #87542C #5F872C
monochromatic
#0E0F2B #1D2059 #2C3187 #3B42B5 #6268CC
Accessibility & contrast
On white
11.07
#2C3187 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#2C3187 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3187
11.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3187 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3187 | 1.00 | 11.07 | 1.90 | 11.07 |
| #FFFFFF | 11.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00408A
Deuteranopia (green-blind)
#003885
Tritanopia (blue-blind)
#004757
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2c3187; /* rgb */ color: rgb(44, 49, 135); /* oklch */ color: oklch(36.6% 0.141 274.5);
Tailwind
colors: {
custom: {
50: '#7169ab',
500: '#2c3187',
950: '#000000',
},
}SCSS
$custom: #2c3187; $custom-light: #7169ab; $custom-dark: #000000;
JSON
{
"hex": "#2c3187",
"rgb": {
"r": 44,
"g": 49,
"b": 135
},
"hsl": {
"h": 236.703,
"s": 50.838,
"l": 35.098
},
"oklch": {
"l": 0.36606,
"c": 0.14116,
"h": 274.5
},
"luminance": 0.04481
}Semantic roles & 50–950 ramp
primary
#2C3187
secondary
#B2AD5D
accent
#D34DDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F