#2F207C#2F207C
#2F207C is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.9% C 0.147 H 282.2°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).
Color values
| HEX | #2F207C |
|---|---|
| RGB | rgb(47, 32, 124) |
| HSL | hsl(250, 59%, 31%) |
| HSV | hsv(250, 74%, 49%) |
| CMYK | cmyk(62.1%, 74.2%, 0%, 51.4%) |
| CIE-LAB | lab(20.41, 34.39, -49.73) |
| CIE-LCH | lch(20.41, 60.46, 304.67°) |
| OKLab | oklab(32.88% 0.0309 -0.1433) |
| OKLCH | oklch(32.88% 0.147 282.2) |
| XYZ | xyz(5.3258, 3.0922, 19.3811) |
| Luminance | 0.0309 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.39
Royal
#0C1793
ΔE00 4.93
Indigo (survey)
#380282
ΔE00 5.42
Dark Royal Blue
#02066F
ΔE00 6.49
Deep Blue
#040273
ΔE00 6.77
Navy
#000080
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F207C #6D7C20
analogous
#203F7C #2F207C #5D207C
triadic
#2F207C #7C2F20 #207C2F
tetradic
#2F207C #7C203F #6D7C20 #207C5D
square
#2F207C #7C203F #6D7C20 #207C5D
split-complementary
#2F207C #7C5D20 #3F7C20
monochromatic
#0A071B #1D134B #2F207C #412DAD #5D47CF
Accessibility & contrast
On white
12.97
#2F207C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#2F207C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F207C
12.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F207C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F207C | 1.00 | 12.97 | 1.62 | 12.97 |
| #FFFFFF | 12.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00347F
Deuteranopia (green-blind)
#002E7A
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #2f207c; /* rgb */ color: rgb(47, 32, 124); /* oklch */ color: oklch(32.9% 0.147 282.2);
Tailwind
colors: {
custom: {
50: '#725da3',
500: '#2f207c',
950: '#000000',
},
}SCSS
$custom: #2f207c; $custom-light: #725da3; $custom-dark: #000000;
JSON
{
"hex": "#2f207c",
"rgb": {
"r": 47,
"g": 32,
"b": 124
},
"hsl": {
"h": 249.783,
"s": 58.974,
"l": 30.588
},
"oklch": {
"l": 0.32883,
"c": 0.1466,
"h": 282.2
},
"luminance": 0.03093
}Semantic roles & 50–950 ramp
primary
#2F207C
secondary
#9EAF49
accent
#E246C9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F