#2C2F8F#2C2F8F
#2C2F8F is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.0% C 0.155 H 274.5°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2F8F |
|---|---|
| RGB | rgb(44, 47, 143) |
| HSL | hsl(238, 53%, 37%) |
| HSV | hsv(238, 69%, 56%) |
| CMYK | cmyk(69.2%, 67.1%, 0%, 43.9%) |
| CIE-LAB | lab(25.42, 31.18, -53.45) |
| CIE-LCH | lch(25.42, 61.88, 300.26°) |
| OKLab | oklab(36.98% 0.0121 -0.1543) |
| OKLCH | oklch(36.98% 0.155 274.5) |
| XYZ | xyz(7.0115, 4.5510, 26.4902) |
| Luminance | 0.0455 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.70
Darkslateblue
#483D8B
ΔE00 5.73
Blueberry
#464196
ΔE00 5.84
Royal
#0C1793
ΔE00 6.13
Midnight Blue
#191970
ΔE00 6.99
Indigo Blue
#3A18B1
ΔE00 7.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2F8F #8F8C2C
analogous
#2C618F #2C2F8F #5B2C8F
triadic
#2C2F8F #8F2C2F #2F8F2C
tetradic
#2C2F8F #8F2C61 #8F8C2C #2C8F5B
square
#2C2F8F #8F2C61 #8F8C2C #2C8F5B
split-complementary
#2C2F8F #8F5B2C #618F2C
monochromatic
#0F1031 #1E2060 #2C2F8F #3A3EBE #6669D0
Accessibility & contrast
On white
10.99
#2C2F8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#2C2F8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2F8F
10.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2F8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2F8F | 1.00 | 10.99 | 1.91 | 10.99 |
| #FFFFFF | 10.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#00388D
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2c2f8f; /* rgb */ color: rgb(44, 47, 143); /* oklch */ color: oklch(37.0% 0.155 274.5);
Tailwind
colors: {
custom: {
50: '#7368b1',
500: '#2c2f8f',
950: '#000000',
},
}SCSS
$custom: #2c2f8f; $custom-light: #7368b1; $custom-dark: #000000;
JSON
{
"hex": "#2c2f8f",
"rgb": {
"r": 44,
"g": 47,
"b": 143
},
"hsl": {
"h": 238.182,
"s": 52.941,
"l": 36.667
},
"oklch": {
"l": 0.36983,
"c": 0.15477,
"h": 274.5
},
"luminance": 0.04552
}Semantic roles & 50–950 ramp
primary
#2C2F8F
secondary
#B6B461
accent
#D84BDC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80