#2A2F66#2A2F66
#2A2F66 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.3% C 0.095 H 276.0°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2F66 |
|---|---|
| RGB | rgb(42, 47, 102) |
| HSL | hsl(235, 42%, 28%) |
| HSV | hsv(235, 59%, 40%) |
| CMYK | cmyk(58.8%, 53.9%, 0%, 60%) |
| CIE-LAB | lab(21.89, 15.80, -33.18) |
| CIE-LCH | lch(21.89, 36.75, 295.46°) |
| OKLab | oklab(33.27% 0.01 -0.0948) |
| OKLCH | oklch(33.27% 0.095 276) |
| XYZ | xyz(4.3689, 3.4843, 13.0101) |
| Luminance | 0.0348 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.96
Navy Blue
#1B2A4A
ΔE00 6.30
Midnight Blue
#191970
ΔE00 7.81
Darkslateblue
#483D8B
ΔE00 7.96
Marine Blue
#01386A
ΔE00 8.14
Blueberry
#464196
ΔE00 9.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2F66 #66612A
analogous
#2A4D66 #2A2F66 #432A66
triadic
#2A2F66 #662A2F #2F662A
tetradic
#2A2F66 #662A4D #66612A #2A6643
square
#2A2F66 #662A4D #66612A #2A6643
split-complementary
#2A2F66 #66432A #4D662A
monochromatic
#090A16 #181B3B #2A2F66 #3C4391 #525BB8
Accessibility & contrast
On white
12.37
#2A2F66 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#2A2F66 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2F66
12.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2F66 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2F66 | 1.00 | 12.37 | 1.70 | 12.37 |
| #FFFFFF | 12.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#123768
Deuteranopia (green-blind)
#093265
Tritanopia (blue-blind)
#0A3B45
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #2a2f66; /* rgb */ color: rgb(42, 47, 102); /* oklch */ color: oklch(33.3% 0.095 276.0);
Tailwind
colors: {
custom: {
50: '#696792',
500: '#2a2f66',
950: '#000000',
},
}SCSS
$custom: #2a2f66; $custom-light: #696792; $custom-dark: #000000;
JSON
{
"hex": "#2a2f66",
"rgb": {
"r": 42,
"g": 47,
"b": 102
},
"hsl": {
"h": 235,
"s": 41.667,
"l": 28.235
},
"oklch": {
"l": 0.33274,
"c": 0.09533,
"h": 276
},
"luminance": 0.03485
}Semantic roles & 50–950 ramp
primary
#2A2F66
secondary
#989354
accent
#C756D1
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#07060D
muted
#7A7A7E