#2F2CC9#2F2CC9
#2F2CC9 is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.7% C 0.229 H 271.9°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2CC9 |
|---|---|
| RGB | rgb(47, 44, 201) |
| HSL | hsl(241, 64%, 48%) |
| HSV | hsv(241, 78%, 79%) |
| CMYK | cmyk(76.6%, 78.1%, 0%, 21.2%) |
| CIE-LAB | lab(30.93, 52.75, -79.20) |
| CIE-LCH | lch(30.93, 95.15, 303.66°) |
| OKLab | oklab(42.74% 0.0076 -0.2292) |
| OKLCH | oklch(42.74% 0.229 271.9) |
| XYZ | xyz(12.6120, 6.6214, 55.8604) |
| Luminance | 0.0662 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
True Blue
#010FCC
ΔE00 4.71
Ultramarine Blue
#1805DB
ΔE00 4.76
Blurple
#5539CC
ΔE00 4.98
Pure Blue
#0203E2
ΔE00 4.99
Indigo Blue
#3A18B1
ΔE00 5.02
Blue With A Hint Of Purple
#533CC6
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2CC9 #C6C92C
analogous
#2C78C9 #2F2CC9 #7D2CC9
triadic
#2F2CC9 #C92F2C #2CC92F
tetradic
#2F2CC9 #C92C78 #C6C92C #2CC97D
square
#2F2CC9 #C92C78 #C6C92C #2CC97D
split-complementary
#2F2CC9 #C97D2C #78C92C
monochromatic
#181665 #232197 #2F2CC9 #5A58DA #8C8AE5
Accessibility & contrast
On white
9.03
#2F2CC9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#2F2CC9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2CC9
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2CC9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2CC9 | 1.00 | 9.03 | 2.32 | 9.03 |
| #FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050CD
Deuteranopia (green-blind)
#0041C6
Tritanopia (blue-blind)
#005C7A
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2f2cc9; /* rgb */ color: rgb(47, 44, 201); /* oklch */ color: oklch(42.7% 0.229 271.9);
Tailwind
colors: {
custom: {
50: '#8268db',
500: '#2f2cc9',
950: '#000000',
},
}SCSS
$custom: #2f2cc9; $custom-light: #8268db; $custom-dark: #000000;
JSON
{
"hex": "#2f2cc9",
"rgb": {
"r": 47,
"g": 44,
"b": 201
},
"hsl": {
"h": 241.146,
"s": 64.082,
"l": 48.039
},
"oklch": {
"l": 0.42739,
"c": 0.22937,
"h": 271.9
},
"luminance": 0.06623
}Semantic roles & 50–950 ramp
primary
#2F2CC9
secondary
#CECF82
accent
#E741E4
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0D0615
muted
#7D7A83