#2A2F6F#2A2F6F
#2A2F6F is a dark, moderate blue. Relative luminance 0.037; OKLCH L 34.0% C 0.109 H 275.6°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2F6F |
|---|---|
| RGB | rgb(42, 47, 111) |
| HSL | hsl(236, 45%, 30%) |
| HSV | hsv(236, 62%, 44%) |
| CMYK | cmyk(62.2%, 57.7%, 0%, 56.5%) |
| CIE-LAB | lab(22.56, 19.12, -37.93) |
| CIE-LCH | lch(22.56, 42.48, 296.76°) |
| OKLab | oklab(33.99% 0.0106 -0.1088) |
| OKLCH | oklch(33.99% 0.109 275.6) |
| XYZ | xyz(4.8397, 3.6726, 15.4897) |
| Luminance | 0.0367 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 6.28
Midnight Blue
#191970
ΔE00 6.79
Darkslateblue
#483D8B
ΔE00 6.86
Navy Blue
#1B2A4A
ΔE00 7.60
Blueberry
#464196
ΔE00 8.08
Marine Blue
#01386A
ΔE00 8.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2F6F #6F6A2A
analogous
#2A526F #2A2F6F #472A6F
triadic
#2A2F6F #6F2A2F #2F6F2A
tetradic
#2A2F6F #6F2A52 #6F6A2A #2A6F47
square
#2A2F6F #6F2A52 #6F6A2A #2A6F47
split-complementary
#2A2F6F #6F472A #526F2A
monochromatic
#080916 #191C43 #2A2F6F #3B429B #555CBF
Accessibility & contrast
On white
12.11
#2A2F6F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#2A2F6F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2F6F
12.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2F6F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2F6F | 1.00 | 12.11 | 1.73 | 12.11 |
| #FFFFFF | 12.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#033971
Deuteranopia (green-blind)
#00336E
Tritanopia (blue-blind)
#003E4A
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #2a2f6f; /* rgb */ color: rgb(42, 47, 111); /* oklch */ color: oklch(34.0% 0.109 275.6);
Tailwind
colors: {
custom: {
50: '#6b6799',
500: '#2a2f6f',
950: '#000000',
},
}SCSS
$custom: #2a2f6f; $custom-light: #6b6799; $custom-dark: #000000;
JSON
{
"hex": "#2a2f6f",
"rgb": {
"r": 42,
"g": 47,
"b": 111
},
"hsl": {
"h": 235.652,
"s": 45.098,
"l": 30
},
"oklch": {
"l": 0.33991,
"c": 0.10928,
"h": 275.6
},
"luminance": 0.03673
}Semantic roles & 50–950 ramp
primary
#2A2F6F
secondary
#A19B54
accent
#CB53D5
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E