#2F2DAF#2F2DAF
#2F2DAF is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.1% C 0.198 H 273.6°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2DAF |
|---|---|
| RGB | rgb(47, 45, 175) |
| HSL | hsl(241, 59%, 43%) |
| HSV | hsv(241, 74%, 69%) |
| CMYK | cmyk(73.1%, 74.3%, 0%, 31.4%) |
| CIE-LAB | lab(28.31, 43.81, -68.14) |
| CIE-LCH | lch(28.31, 81.01, 302.74°) |
| OKLab | oklab(40.07% 0.0123 -0.1971) |
| OKLCH | oklch(40.07% 0.198 273.6) |
| XYZ | xyz(9.8460, 5.5753, 41.1064) |
| Luminance | 0.0558 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.71
Indigo Blue
#3A18B1
ΔE00 4.26
True Blue
#010FCC
ΔE00 5.65
Ocean Blue
#4F42B5
ΔE00 6.37
Blue With A Hint Of Purple
#533CC6
ΔE00 6.49
Blue Blue
#2242C7
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2DAF #ADAF2D
analogous
#2D6CAF #2F2DAF #702DAF
triadic
#2F2DAF #AF2F2D #2DAF2F
tetradic
#2F2DAF #AF2D6C #ADAF2D #2DAF70
square
#2F2DAF #AF2D6C #ADAF2D #2DAF70
split-complementary
#2F2DAF #AF702D #6CAF2D
monochromatic
#15144E #22207E #2F2DAF #4B49D0 #7B7ADD
Accessibility & contrast
On white
9.93
#2F2DAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#2F2DAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2DAF
9.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2DAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2DAF | 1.00 | 9.93 | 2.12 | 9.93 |
| #FFFFFF | 9.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049B3
Deuteranopia (green-blind)
#003DAD
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2f2daf; /* rgb */ color: rgb(47, 45, 175); /* oklch */ color: oklch(40.1% 0.198 273.6);
Tailwind
colors: {
custom: {
50: '#7c68c8',
500: '#2f2daf',
950: '#000000',
},
}SCSS
$custom: #2f2daf; $custom-light: #7c68c8; $custom-dark: #000000;
JSON
{
"hex": "#2f2daf",
"rgb": {
"r": 47,
"g": 45,
"b": 175
},
"hsl": {
"h": 240.923,
"s": 59.091,
"l": 43.137
},
"oklch": {
"l": 0.4007,
"c": 0.19751,
"h": 273.6
},
"luminance": 0.05576
}Semantic roles & 50–950 ramp
primary
#2F2DAF
secondary
#C4C573
accent
#E246E0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82