#2F2D9C#2F2D9C
#2F2D9C is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.1% C 0.174 H 275.1°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2D9C |
|---|---|
| RGB | rgb(47, 45, 156) |
| HSL | hsl(241, 55%, 39%) |
| HSV | hsv(241, 71%, 61%) |
| CMYK | cmyk(69.9%, 71.2%, 0%, 38.8%) |
| CIE-LAB | lab(26.39, 37.39, -59.83) |
| CIE-LCH | lch(26.39, 70.55, 302.01°) |
| OKLab | oklab(38.12% 0.0156 -0.1729) |
| OKLCH | oklch(38.12% 0.174 275.1) |
| XYZ | xyz(8.1094, 4.8807, 31.9607) |
| Luminance | 0.0488 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.02
Indigo Blue
#3A18B1
ΔE00 5.39
Royal
#0C1793
ΔE00 5.55
Blueberry
#464196
ΔE00 6.31
Darkslateblue
#483D8B
ΔE00 6.57
Cobalt Blue
#030AA7
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2D9C #9A9C2D
analogous
#2D639C #2F2D9C #672D9C
triadic
#2F2D9C #9C2F2D #2D9C2F
tetradic
#2F2D9C #9C2D63 #9A9C2D #2D9C67
square
#2F2D9C #9C2D63 #9A9C2D #2D9C67
split-complementary
#2F2D9C #9C672D #639C2D
monochromatic
#12123D #211F6D #2F2D9C #413FC8 #706ED5
Accessibility & contrast
On white
10.63
#2F2D9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#2F2D9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2D9C
10.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2D9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2D9C | 1.00 | 10.63 | 1.98 | 10.63 |
| #FFFFFF | 10.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439F
Deuteranopia (green-blind)
#00399A
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2f2d9c; /* rgb */ color: rgb(47, 45, 156); /* oklch */ color: oklch(38.1% 0.174 275.1);
Tailwind
colors: {
custom: {
50: '#7767ba',
500: '#2f2d9c',
950: '#000000',
},
}SCSS
$custom: #2f2d9c; $custom-light: #7767ba; $custom-dark: #000000;
JSON
{
"hex": "#2f2d9c",
"rgb": {
"r": 47,
"g": 45,
"b": 156
},
"hsl": {
"h": 241.081,
"s": 55.224,
"l": 39.412
},
"oklch": {
"l": 0.3812,
"c": 0.17358,
"h": 275.1
},
"luminance": 0.04881
}Semantic roles & 50–950 ramp
primary
#2F2D9C
secondary
#BBBC68
accent
#DF49DC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81