#2C3188#2C3188
#2C3188 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.7% C 0.143 H 274.4°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3188 |
|---|---|
| RGB | rgb(44, 49, 136) |
| HSL | hsl(237, 51%, 35%) |
| HSV | hsv(237, 68%, 53%) |
| CMYK | cmyk(67.6%, 64%, 0%, 46.7%) |
| CIE-LAB | lab(25.29, 27.34, -49.31) |
| CIE-LCH | lch(25.29, 56.38, 299.00°) |
| OKLab | oklab(36.7% 0.011 -0.1421) |
| OKLCH | oklch(36.7% 0.143 274.4) |
| XYZ | xyz(6.5795, 4.5091, 23.8114) |
| Luminance | 0.0451 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.28
Sapphire (survey)
#2138AB
ΔE00 5.40
Blueberry
#464196
ΔE00 5.61
Midnight Blue
#191970
ΔE00 7.00
Royal
#0C1793
ΔE00 7.12
Marine
#042E60
ΔE00 8.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3188 #88832C
analogous
#2C5F88 #2C3188 #552C88
triadic
#2C3188 #882C31 #31882C
tetradic
#2C3188 #882C5F #88832C #2C8855
square
#2C3188 #882C5F #88832C #2C8855
split-complementary
#2C3188 #88552C #5F882C
monochromatic
#0E102C #1D205A #2C3188 #3B42B6 #6268CC
Accessibility & contrast
On white
11.04
#2C3188 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#2C3188 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3188
11.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3188 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3188 | 1.00 | 11.04 | 1.90 | 11.04 |
| #FFFFFF | 11.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00408B
Deuteranopia (green-blind)
#003886
Tritanopia (blue-blind)
#004757
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2c3188; /* rgb */ color: rgb(44, 49, 136); /* oklch */ color: oklch(36.7% 0.143 274.4);
Tailwind
colors: {
custom: {
50: '#7169ab',
500: '#2c3188',
950: '#000000',
},
}SCSS
$custom: #2c3188; $custom-light: #7169ab; $custom-dark: #000000;
JSON
{
"hex": "#2c3188",
"rgb": {
"r": 44,
"g": 49,
"b": 136
},
"hsl": {
"h": 236.739,
"s": 51.111,
"l": 35.294
},
"oklch": {
"l": 0.36696,
"c": 0.14257,
"h": 274.4
},
"luminance": 0.0451
}Semantic roles & 50–950 ramp
primary
#2C3188
secondary
#B3AE5D
accent
#D34DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F