#2C2F7F#2C2F7F
#2C2F7F is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.5% C 0.132 H 275.7°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2F7F |
|---|---|
| RGB | rgb(44, 47, 127) |
| HSL | hsl(238, 49%, 34%) |
| HSV | hsv(238, 65%, 50%) |
| CMYK | cmyk(65.4%, 63%, 0%, 50.2%) |
| CIE-LAB | lab(24.00, 25.39, -45.77) |
| CIE-LCH | lch(24.00, 52.34, 299.02°) |
| OKLab | oklab(35.51% 0.0131 -0.1318) |
| OKLCH | oklch(35.51% 0.132 275.7) |
| XYZ | xyz(5.8847, 4.1003, 20.5559) |
| Luminance | 0.0410 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.60
Midnight Blue
#191970
ΔE00 6.18
Blueberry
#464196
ΔE00 6.42
Sapphire (survey)
#2138AB
ΔE00 6.89
Royal
#0C1793
ΔE00 7.41
Marine
#042E60
ΔE00 7.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2F7F #7F7C2C
analogous
#2C587F #2C2F7F #522C7F
triadic
#2C2F7F #7F2C2F #2F7F2C
tetradic
#2C2F7F #7F2C58 #7F7C2C #2C7F52
square
#2C2F7F #7F2C58 #7F7C2C #2C7F52
split-complementary
#2C2F7F #7F522C #587F2C
monochromatic
#0D0D24 #1C1E52 #2C2F7F #3C40AC #5E62C7
Accessibility & contrast
On white
11.54
#2C2F7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#2C2F7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2F7F
11.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2F7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2F7F | 1.00 | 11.54 | 1.82 | 11.54 |
| #FFFFFF | 11.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D82
Deuteranopia (green-blind)
#00357D
Tritanopia (blue-blind)
#004352
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #2c2f7f; /* rgb */ color: rgb(44, 47, 127); /* oklch */ color: oklch(35.5% 0.132 275.7);
Tailwind
colors: {
custom: {
50: '#6f67a5',
500: '#2c2f7f',
950: '#000000',
},
}SCSS
$custom: #2c2f7f; $custom-light: #6f67a5; $custom-dark: #000000;
JSON
{
"hex": "#2c2f7f",
"rgb": {
"r": 44,
"g": 47,
"b": 127
},
"hsl": {
"h": 237.831,
"s": 48.538,
"l": 33.529
},
"oklch": {
"l": 0.35508,
"c": 0.13241,
"h": 275.7
},
"luminance": 0.04101
}Semantic roles & 50–950 ramp
primary
#2C2F7F
secondary
#ADAA59
accent
#D350D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F