#2F2CAF#2F2CAF
#2F2CAF is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.9% C 0.199 H 273.7°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2CAF |
|---|---|
| RGB | rgb(47, 44, 175) |
| HSL | hsl(241, 60%, 43%) |
| HSV | hsv(241, 75%, 69%) |
| CMYK | cmyk(73.1%, 74.9%, 0%, 31.4%) |
| CIE-LAB | lab(28.11, 44.38, -68.47) |
| CIE-LCH | lch(28.11, 81.60, 302.95°) |
| OKLab | oklab(39.93% 0.0128 -0.1981) |
| OKLCH | oklch(39.93% 0.199 273.7) |
| XYZ | xyz(9.8083, 5.4999, 41.0938) |
| Luminance | 0.0550 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.93
Indigo Blue
#3A18B1
ΔE00 4.02
True Blue
#010FCC
ΔE00 5.47
Mediumblue
#0000CD
ΔE00 6.39
Ultramarine
#2000B1
ΔE00 6.45
Royal
#0C1793
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2CAF #ACAF2C
analogous
#2C6AAF #2F2CAF #702CAF
triadic
#2F2CAF #AF2F2C #2CAF2F
tetradic
#2F2CAF #AF2C6A #ACAF2C #2CAF70
square
#2F2CAF #AF2C6A #ACAF2C #2CAF70
split-complementary
#2F2CAF #AF702C #6AAF2C
monochromatic
#15134D #22207E #2F2CAF #4B47D1 #7B78DD
Accessibility & contrast
On white
10.00
#2F2CAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#2F2CAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2CAF
10.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2CAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2CAF | 1.00 | 10.00 | 2.10 | 10.00 |
| #FFFFFF | 10.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048B3
Deuteranopia (green-blind)
#003CAD
Tritanopia (blue-blind)
#00526B
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2f2caf; /* rgb */ color: rgb(47, 44, 175); /* oklch */ color: oklch(39.9% 0.199 273.7);
Tailwind
colors: {
custom: {
50: '#7c67c8',
500: '#2f2caf',
950: '#000000',
},
}SCSS
$custom: #2f2caf; $custom-light: #7c67c8; $custom-dark: #000000;
JSON
{
"hex": "#2f2caf",
"rgb": {
"r": 47,
"g": 44,
"b": 175
},
"hsl": {
"h": 241.374,
"s": 59.817,
"l": 42.941
},
"oklch": {
"l": 0.39927,
"c": 0.1985,
"h": 273.7
},
"luminance": 0.05501
}Semantic roles & 50–950 ramp
primary
#2F2CAF
secondary
#C3C572
accent
#E345DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82