#2F2D7C#2F2D7C
#2F2D7C is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.1% C 0.130 H 278.4°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2D7C |
|---|---|
| RGB | rgb(47, 45, 124) |
| HSL | hsl(242, 47%, 33%) |
| HSV | hsv(242, 64%, 49%) |
| CMYK | cmyk(62.1%, 63.7%, 0%, 51.4%) |
| CIE-LAB | lab(23.46, 26.18, -44.74) |
| CIE-LCH | lch(23.46, 51.84, 300.33°) |
| OKLab | oklab(35.09% 0.0191 -0.1287) |
| OKLCH | oklch(35.09% 0.13 278.4) |
| XYZ | xyz(5.7476, 3.9359, 19.5217) |
| Luminance | 0.0394 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.65
Darkslateblue
#483D8B
ΔE00 5.68
Blueberry
#464196
ΔE00 6.81
Royal
#0C1793
ΔE00 7.30
Sapphire (survey)
#2138AB
ΔE00 7.64
Marine
#042E60
ΔE00 8.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2D7C #7A7C2D
analogous
#2D527C #2F2D7C #562D7C
triadic
#2F2D7C #7C2F2D #2D7C2F
tetradic
#2F2D7C #7C2D52 #7A7C2D #2D7C56
square
#2F2D7C #7C2D52 #7A7C2D #2D7C56
split-complementary
#2F2D7C #7C562D #527C2D
monochromatic
#0D0C22 #1E1D4F #2F2D7C #403DA9 #615FC5
Accessibility & contrast
On white
11.75
#2F2D7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#2F2D7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2D7C
11.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2D7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2D7C | 1.00 | 11.75 | 1.79 | 11.75 |
| #FFFFFF | 11.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B7F
Deuteranopia (green-blind)
#00357A
Tritanopia (blue-blind)
#004050
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2f2d7c; /* rgb */ color: rgb(47, 45, 124); /* oklch */ color: oklch(35.1% 0.130 278.4);
Tailwind
colors: {
custom: {
50: '#7066a3',
500: '#2f2d7c',
950: '#000000',
},
}SCSS
$custom: #2f2d7c; $custom-light: #7066a3; $custom-dark: #000000;
JSON
{
"hex": "#2f2d7c",
"rgb": {
"r": 47,
"g": 45,
"b": 124
},
"hsl": {
"h": 241.519,
"s": 46.746,
"l": 33.137
},
"oklch": {
"l": 0.35089,
"c": 0.13009,
"h": 278.4
},
"luminance": 0.03936
}Semantic roles & 50–950 ramp
primary
#2F2D7C
secondary
#A9AB5A
accent
#D651D3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F