#2F209D#2F209D
#2F209D is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.4% C 0.188 H 276.9°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).
Color values
| HEX | #2F209D |
|---|---|
| RGB | rgb(47, 32, 157) |
| HSL | hsl(247, 66%, 37%) |
| HSV | hsv(247, 80%, 62%) |
| CMYK | cmyk(70.1%, 79.6%, 0%, 38.4%) |
| CIE-LAB | lab(23.90, 45.02, -64.54) |
| CIE-LCH | lch(23.90, 78.69, 304.90°) |
| OKLab | oklab(36.39% 0.0227 -0.1865) |
| OKLCH | oklch(36.39% 0.188 276.9) |
| XYZ | xyz(7.7726, 4.0710, 32.2679) |
| Luminance | 0.0407 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.27
Royal
#0C1793
ΔE00 3.47
Cobalt Blue
#030AA7
ΔE00 4.12
Royal Blue (survey)
#0504AA
ΔE00 4.55
Ultramarine
#2000B1
ΔE00 4.56
True Blue
#010FCC
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F209D #8E9D20
analogous
#20509D #2F209D #6E209D
triadic
#2F209D #9D2F20 #209D2F
tetradic
#2F209D #9D2050 #8E9D20 #209D6E
square
#2F209D #9D2050 #8E9D20 #209D6E
split-complementary
#2F209D #9D6E20 #509D20
monochromatic
#110B37 #20166A #2F209D #3E2AD0 #6A5ADD
Accessibility & contrast
On white
11.57
#2F209D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#2F209D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F209D
11.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F209D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F209D | 1.00 | 11.57 | 1.81 | 11.57 |
| #FFFFFF | 11.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003EA0
Deuteranopia (green-blind)
#00339B
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #2f209d; /* rgb */ color: rgb(47, 32, 157); /* oklch */ color: oklch(36.4% 0.188 276.9);
Tailwind
colors: {
custom: {
50: '#795fbb',
500: '#2f209d',
950: '#000000',
},
}SCSS
$custom: #2f209d; $custom-light: #795fbb; $custom-dark: #000000;
JSON
{
"hex": "#2f209d",
"rgb": {
"r": 47,
"g": 32,
"b": 157
},
"hsl": {
"h": 247.2,
"s": 66.138,
"l": 37.059
},
"oklch": {
"l": 0.3639,
"c": 0.1879,
"h": 276.9
},
"luminance": 0.04072
}Semantic roles & 50–950 ramp
primary
#2F209D
secondary
#B5C157
accent
#E93FD5
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0512
muted
#7C7981