#2F2CA1#2F2CA1
#2F2CA1 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.5% C 0.181 H 274.9°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2CA1 |
|---|---|
| RGB | rgb(47, 44, 161) |
| HSL | hsl(242, 57%, 40%) |
| HSV | hsv(242, 73%, 63%) |
| CMYK | cmyk(70.8%, 72.7%, 0%, 36.9%) |
| CIE-LAB | lab(26.67, 39.70, -62.41) |
| CIE-LCH | lch(26.67, 73.97, 302.46°) |
| OKLab | oklab(38.47% 0.0154 -0.1804) |
| OKLCH | oklch(38.47% 0.181 274.9) |
| XYZ | xyz(8.5039, 4.9781, 34.2240) |
| Luminance | 0.0498 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.99
Indigo Blue
#3A18B1
ΔE00 4.73
Royal
#0C1793
ΔE00 5.51
Cobalt Blue
#030AA7
ΔE00 6.43
Blueberry
#464196
ΔE00 6.70
True Blue
#010FCC
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2CA1 #9EA12C
analogous
#2C64A1 #2F2CA1 #692CA1
triadic
#2F2CA1 #A12F2C #2CA12F
tetradic
#2F2CA1 #A12C64 #9EA12C #2CA169
square
#2F2CA1 #A12C64 #9EA12C #2CA169
split-complementary
#2F2CA1 #A1692C #64A12C
monochromatic
#131241 #211F71 #2F2CA1 #4340CB #7270D8
Accessibility & contrast
On white
10.52
#2F2CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#2F2CA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2CA1
10.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2CA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2CA1 | 1.00 | 10.52 | 2.00 | 10.52 |
| #FFFFFF | 10.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A4
Deuteranopia (green-blind)
#003A9F
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2f2ca1; /* rgb */ color: rgb(47, 44, 161); /* oklch */ color: oklch(38.5% 0.181 274.9);
Tailwind
colors: {
custom: {
50: '#7966be',
500: '#2f2ca1',
950: '#000000',
},
}SCSS
$custom: #2f2ca1; $custom-light: #7966be; $custom-dark: #000000;
JSON
{
"hex": "#2f2ca1",
"rgb": {
"r": 47,
"g": 44,
"b": 161
},
"hsl": {
"h": 241.538,
"s": 57.073,
"l": 40.196
},
"oklch": {
"l": 0.3847,
"c": 0.18107,
"h": 274.9
},
"luminance": 0.04979
}Semantic roles & 50–950 ramp
primary
#2F2CA1
secondary
#BDBF6A
accent
#E047DC
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0612
muted
#7C7A81