#2C2F8E#2C2F8E
#2C2F8E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.9% C 0.153 H 274.5°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2F8E |
|---|---|
| RGB | rgb(44, 47, 142) |
| HSL | hsl(238, 53%, 36%) |
| HSV | hsv(238, 69%, 56%) |
| CMYK | cmyk(69%, 66.9%, 0%, 44.3%) |
| CIE-LAB | lab(25.32, 30.82, -52.98) |
| CIE-LCH | lch(25.32, 61.29, 300.19°) |
| OKLab | oklab(36.89% 0.0121 -0.1529) |
| OKLCH | oklch(36.89% 0.153 274.5) |
| XYZ | xyz(6.9361, 4.5209, 26.0930) |
| Luminance | 0.0452 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.82
Darkslateblue
#483D8B
ΔE00 5.70
Blueberry
#464196
ΔE00 5.85
Royal
#0C1793
ΔE00 6.17
Midnight Blue
#191970
ΔE00 6.91
Indigo Blue
#3A18B1
ΔE00 7.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2F8E #8E8B2C
analogous
#2C608E #2C2F8E #5A2C8E
triadic
#2C2F8E #8E2C2F #2F8E2C
tetradic
#2C2F8E #8E2C60 #8E8B2C #2C8E5A
square
#2C2F8E #8E2C60 #8E8B2C #2C8E5A
split-complementary
#2C2F8E #8E5A2C #608E2C
monochromatic
#0F1031 #1E205F #2C2F8E #3A3EBD #6568CF
Accessibility & contrast
On white
11.03
#2C2F8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#2C2F8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2F8E
11.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2F8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2F8E | 1.00 | 11.03 | 1.90 | 11.03 |
| #FFFFFF | 11.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004191
Deuteranopia (green-blind)
#00388C
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2c2f8e; /* rgb */ color: rgb(44, 47, 142); /* oklch */ color: oklch(36.9% 0.153 274.5);
Tailwind
colors: {
custom: {
50: '#7368b0',
500: '#2c2f8e',
950: '#000000',
},
}SCSS
$custom: #2c2f8e; $custom-light: #7368b0; $custom-dark: #000000;
JSON
{
"hex": "#2c2f8e",
"rgb": {
"r": 44,
"g": 47,
"b": 142
},
"hsl": {
"h": 238.163,
"s": 52.688,
"l": 36.471
},
"oklch": {
"l": 0.36888,
"c": 0.1534,
"h": 274.5
},
"luminance": 0.04521
}Semantic roles & 50–950 ramp
primary
#2C2F8E
secondary
#B6B360
accent
#D84CDC
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090611
muted
#7B7A80