#2F2D7A#2F2D7A
#2F2D7A is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.9% C 0.127 H 278.7°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2D7A |
|---|---|
| RGB | rgb(47, 45, 122) |
| HSL | hsl(242, 46%, 33%) |
| HSV | hsv(242, 63%, 48%) |
| CMYK | cmyk(61.5%, 63.1%, 0%, 52.2%) |
| CIE-LAB | lab(23.29, 25.46, -43.75) |
| CIE-LCH | lch(23.29, 50.62, 300.20°) |
| OKLab | oklab(34.91% 0.0192 -0.1257) |
| OKLCH | oklch(34.91% 0.127 278.7) |
| XYZ | xyz(5.6224, 3.8858, 18.8623) |
| Luminance | 0.0389 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.65
Darkslateblue
#483D8B
ΔE00 5.76
Blueberry
#464196
ΔE00 6.97
Royal
#0C1793
ΔE00 7.56
Sapphire (survey)
#2138AB
ΔE00 7.95
Marine
#042E60
ΔE00 8.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2D7A #787A2D
analogous
#2D527A #2F2D7A #552D7A
triadic
#2F2D7A #7A2F2D #2D7A2F
tetradic
#2F2D7A #7A2D52 #787A2D #2D7A55
square
#2F2D7A #7A2D52 #787A2D #2D7A55
split-complementary
#2F2D7A #7A552D #527A2D
monochromatic
#0D0C21 #1E1D4D #2F2D7A #403DA7 #605EC4
Accessibility & contrast
On white
11.82
#2F2D7A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#2F2D7A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2D7A
11.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2D7A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2D7A | 1.00 | 11.82 | 1.78 | 11.82 |
| #FFFFFF | 11.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B7D
Deuteranopia (green-blind)
#003478
Tritanopia (blue-blind)
#00404F
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2f2d7a; /* rgb */ color: rgb(47, 45, 122); /* oklch */ color: oklch(34.9% 0.127 278.7);
Tailwind
colors: {
custom: {
50: '#7066a1',
500: '#2f2d7a',
950: '#000000',
},
}SCSS
$custom: #2f2d7a; $custom-light: #7066a1; $custom-dark: #000000;
JSON
{
"hex": "#2f2d7a",
"rgb": {
"r": 47,
"g": 45,
"b": 122
},
"hsl": {
"h": 241.558,
"s": 46.108,
"l": 32.745
},
"oklch": {
"l": 0.34912,
"c": 0.12721,
"h": 278.7
},
"luminance": 0.03886
}Semantic roles & 50–950 ramp
primary
#2F2D7A
secondary
#A8AA59
accent
#D652D2
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#08060F
muted
#7B7A7F