#2F209C#2F209C
#2F209C is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.3% C 0.187 H 277.1°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).
Color values
| HEX | #2F209C |
|---|---|
| RGB | rgb(47, 32, 156) |
| HSL | hsl(247, 66%, 37%) |
| HSV | hsv(247, 79%, 61%) |
| CMYK | cmyk(69.9%, 79.5%, 0%, 38.8%) |
| CIE-LAB | lab(23.79, 44.71, -64.11) |
| CIE-LCH | lch(23.79, 78.16, 304.89°) |
| OKLab | oklab(36.28% 0.023 -0.1853) |
| OKLCH | oklch(36.28% 0.187 277.1) |
| XYZ | xyz(7.6876, 4.0370, 31.8201) |
| Luminance | 0.0404 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.39
Royal
#0C1793
ΔE00 3.41
Cobalt Blue
#030AA7
ΔE00 4.16
Royal Blue (survey)
#0504AA
ΔE00 4.59
Ultramarine
#2000B1
ΔE00 4.63
Indigo (survey)
#380282
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F209C #8D9C20
analogous
#204F9C #2F209C #6D209C
triadic
#2F209C #9C2F20 #209C2F
tetradic
#2F209C #9C204F #8D9C20 #209C6D
square
#2F209C #9C204F #8D9C20 #209C6D
split-complementary
#2F209C #9C6D20 #4F9C20
monochromatic
#100B36 #201669 #2F209C #3E2ACF #6959DD
Accessibility & contrast
On white
11.62
#2F209C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#2F209C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F209C
11.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F209C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F209C | 1.00 | 11.62 | 1.81 | 11.62 |
| #FFFFFF | 11.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E9F
Deuteranopia (green-blind)
#00339A
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #2f209c; /* rgb */ color: rgb(47, 32, 156); /* oklch */ color: oklch(36.3% 0.187 277.1);
Tailwind
colors: {
custom: {
50: '#795fba',
500: '#2f209c',
950: '#000000',
},
}SCSS
$custom: #2f209c; $custom-light: #795fba; $custom-dark: #000000;
JSON
{
"hex": "#2f209c",
"rgb": {
"r": 47,
"g": 32,
"b": 156
},
"hsl": {
"h": 247.258,
"s": 65.957,
"l": 36.863
},
"oklch": {
"l": 0.36279,
"c": 0.1867,
"h": 277.1
},
"luminance": 0.04038
}Semantic roles & 50–950 ramp
primary
#2F209C
secondary
#B4C157
accent
#E93FD4
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0512
muted
#7C7981