#2C2E8B#2C2E8B
#2C2E8B is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.4% C 0.151 H 275.0°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2E8B |
|---|---|
| RGB | rgb(44, 46, 139) |
| HSL | hsl(239, 52%, 36%) |
| HSV | hsv(239, 68%, 55%) |
| CMYK | cmyk(68.3%, 66.9%, 0%, 45.5%) |
| CIE-LAB | lab(24.81, 30.40, -51.97) |
| CIE-LCH | lch(24.81, 60.20, 300.32°) |
| OKLab | oklab(36.43% 0.0132 -0.15) |
| OKLCH | oklch(36.43% 0.151 275) |
| XYZ | xyz(6.6744, 4.3530, 24.9096) |
| Luminance | 0.0435 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.32
Darkslateblue
#483D8B
ΔE00 5.76
Royal
#0C1793
ΔE00 6.07
Blueberry
#464196
ΔE00 6.10
Midnight Blue
#191970
ΔE00 6.47
Indigo Blue
#3A18B1
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2E8B #8B892C
analogous
#2C5D8B #2C2E8B #592C8B
triadic
#2C2E8B #8B2C2E #2E8B2C
tetradic
#2C2E8B #8B2C5D #8B892C #2C8B59
square
#2C2E8B #8B2C5D #8B892C #2C8B59
split-complementary
#2C2E8B #8B592C #5D8B2C
monochromatic
#0F0F2E #1D1F5D #2C2E8B #3B3DB9 #6466CE
Accessibility & contrast
On white
11.23
#2C2E8B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#2C2E8B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2E8B
11.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2E8B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2E8B | 1.00 | 11.23 | 1.87 | 11.23 |
| #FFFFFF | 11.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F8E
Deuteranopia (green-blind)
#003789
Tritanopia (blue-blind)
#004658
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2c2e8b; /* rgb */ color: rgb(44, 46, 139); /* oklch */ color: oklch(36.4% 0.151 275.0);
Tailwind
colors: {
custom: {
50: '#7267ae',
500: '#2c2e8b',
950: '#000000',
},
}SCSS
$custom: #2c2e8b; $custom-light: #7267ae; $custom-dark: #000000;
JSON
{
"hex": "#2c2e8b",
"rgb": {
"r": 44,
"g": 46,
"b": 139
},
"hsl": {
"h": 238.737,
"s": 51.913,
"l": 35.882
},
"oklch": {
"l": 0.36426,
"c": 0.15054,
"h": 275
},
"luminance": 0.04354
}Semantic roles & 50–950 ramp
primary
#2C2E8B
secondary
#B4B25F
accent
#D84CDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F