#2F2CA2#2F2CA2
#2F2CA2 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.6% C 0.182 H 274.8°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2CA2 |
|---|---|
| RGB | rgb(47, 44, 162) |
| HSL | hsl(242, 57%, 40%) |
| HSV | hsv(242, 73%, 64%) |
| CMYK | cmyk(71%, 72.8%, 0%, 36.5%) |
| CIE-LAB | lab(26.77, 40.04, -62.85) |
| CIE-LCH | lch(26.77, 74.52, 302.50°) |
| OKLab | oklab(38.57% 0.0152 -0.1817) |
| OKLCH | oklch(38.57% 0.182 274.8) |
| XYZ | xyz(8.5924, 5.0135, 34.6903) |
| Luminance | 0.0501 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.96
Indigo Blue
#3A18B1
ΔE00 4.65
Royal
#0C1793
ΔE00 5.56
Cobalt Blue
#030AA7
ΔE00 6.41
True Blue
#010FCC
ΔE00 6.69
Blueberry
#464196
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2CA2 #9FA22C
analogous
#2C64A2 #2F2CA2 #6A2CA2
triadic
#2F2CA2 #A22F2C #2CA22F
tetradic
#2F2CA2 #A22C64 #9FA22C #2CA26A
square
#2F2CA2 #A22C64 #9FA22C #2CA26A
split-complementary
#2F2CA2 #A26A2C #64A22C
monochromatic
#131242 #211F72 #2F2CA2 #4440CB #7370D8
Accessibility & contrast
On white
10.49
#2F2CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#2F2CA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2CA2
10.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2CA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2CA2 | 1.00 | 10.49 | 2.00 | 10.49 |
| #FFFFFF | 10.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A5
Deuteranopia (green-blind)
#003AA0
Tritanopia (blue-blind)
#004D64
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2f2ca2; /* rgb */ color: rgb(47, 44, 162); /* oklch */ color: oklch(38.6% 0.182 274.8);
Tailwind
colors: {
custom: {
50: '#7966bf',
500: '#2f2ca2',
950: '#000000',
},
}SCSS
$custom: #2f2ca2; $custom-light: #7966bf; $custom-dark: #000000;
JSON
{
"hex": "#2f2ca2",
"rgb": {
"r": 47,
"g": 44,
"b": 162
},
"hsl": {
"h": 241.525,
"s": 57.282,
"l": 40.392
},
"oklch": {
"l": 0.38573,
"c": 0.18233,
"h": 274.8
},
"luminance": 0.05014
}Semantic roles & 50–950 ramp
primary
#2F2CA2
secondary
#BDBF6A
accent
#E147DD
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0612
muted
#7C7A81