#2A2F62#2A2F62
#2A2F62 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.0% C 0.089 H 276.2°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2F62 |
|---|---|
| RGB | rgb(42, 47, 98) |
| HSL | hsl(235, 40%, 27%) |
| HSV | hsv(235, 57%, 38%) |
| CMYK | cmyk(57.1%, 52%, 0%, 61.6%) |
| CIE-LAB | lab(21.60, 14.33, -31.03) |
| CIE-LCH | lch(21.60, 34.18, 294.79°) |
| OKLab | oklab(32.97% 0.0095 -0.0885) |
| OKLCH | oklch(32.97% 0.089 276.2) |
| XYZ | xyz(4.1753, 3.4068, 11.9905) |
| Luminance | 0.0341 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 5.73
Marine
#042E60
ΔE00 5.99
Marine Blue
#01386A
ΔE00 8.26
Midnight Blue
#191970
ΔE00 8.40
Darkslateblue
#483D8B
ΔE00 8.55
Navy (survey)
#01153E
ΔE00 9.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2F62 #625D2A
analogous
#2A4B62 #2A2F62 #412A62
triadic
#2A2F62 #622A2F #2F622A
tetradic
#2A2F62 #622A4B #625D2A #2A6241
square
#2A2F62 #622A4B #625D2A #2A6241
split-complementary
#2A2F62 #62412A #4B622A
monochromatic
#090A15 #181A37 #2A2F62 #3C448D #525BB5
Accessibility & contrast
On white
12.49
#2A2F62 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#2A2F62 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2F62
12.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2F62 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2F62 | 1.00 | 12.49 | 1.68 | 12.49 |
| #FFFFFF | 12.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#173664
Deuteranopia (green-blind)
#103261
Tritanopia (blue-blind)
#103A43
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #2a2f62; /* rgb */ color: rgb(42, 47, 98); /* oklch */ color: oklch(33.0% 0.089 276.2);
Tailwind
colors: {
custom: {
50: '#69678f',
500: '#2a2f62',
950: '#000000',
},
}SCSS
$custom: #2a2f62; $custom-light: #69678f; $custom-dark: #000000;
JSON
{
"hex": "#2a2f62",
"rgb": {
"r": 42,
"g": 47,
"b": 98
},
"hsl": {
"h": 234.643,
"s": 40,
"l": 27.451
},
"oklch": {
"l": 0.3297,
"c": 0.08898,
"h": 276.2
},
"luminance": 0.03407
}Semantic roles & 50–950 ramp
primary
#2A2F62
secondary
#948F53
accent
#C558D0
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D