#2C2F85#2C2F85
#2C2F85 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.0% C 0.141 H 275.2°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2F85 |
|---|---|
| RGB | rgb(44, 47, 133) |
| HSL | hsl(238, 50%, 35%) |
| HSV | hsv(238, 67%, 52%) |
| CMYK | cmyk(66.9%, 64.7%, 0%, 47.8%) |
| CIE-LAB | lab(24.52, 27.57, -48.69) |
| CIE-LCH | lch(24.52, 55.96, 299.52°) |
| OKLab | oklab(36.05% 0.0128 -0.1403) |
| OKLCH | oklch(36.05% 0.141 275.2) |
| XYZ | xyz(6.2875, 4.2614, 22.6769) |
| Luminance | 0.0426 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.53
Sapphire (survey)
#2138AB
ΔE00 6.00
Blueberry
#464196
ΔE00 6.09
Midnight Blue
#191970
ΔE00 6.35
Royal
#0C1793
ΔE00 6.80
Marine
#042E60
ΔE00 8.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2F85 #85822C
analogous
#2C5B85 #2C2F85 #562C85
triadic
#2C2F85 #852C2F #2F852C
tetradic
#2C2F85 #852C5B #85822C #2C8556
square
#2C2F85 #852C5B #85822C #2C8556
split-complementary
#2C2F85 #85562C #5B852C
monochromatic
#0E0E29 #1D1F57 #2C2F85 #3B3FB3 #6164CB
Accessibility & contrast
On white
11.34
#2C2F85 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#2C2F85 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2F85
11.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2F85 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2F85 | 1.00 | 11.34 | 1.85 | 11.34 |
| #FFFFFF | 11.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E88
Deuteranopia (green-blind)
#003683
Tritanopia (blue-blind)
#004555
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2c2f85; /* rgb */ color: rgb(44, 47, 133); /* oklch */ color: oklch(36.0% 0.141 275.2);
Tailwind
colors: {
custom: {
50: '#7167a9',
500: '#2c2f85',
950: '#000000',
},
}SCSS
$custom: #2c2f85; $custom-light: #7167a9; $custom-dark: #000000;
JSON
{
"hex": "#2c2f85",
"rgb": {
"r": 44,
"g": 47,
"b": 133
},
"hsl": {
"h": 237.978,
"s": 50.282,
"l": 34.706
},
"oklch": {
"l": 0.36049,
"c": 0.14094,
"h": 275.2
},
"luminance": 0.04262
}Semantic roles & 50–950 ramp
primary
#2C2F85
secondary
#B1AE5C
accent
#D54EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F