#2F30AC#2F30AC
#2F30AC is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.2% C 0.191 H 273.4°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).
Color values
| HEX | #2F30AC |
|---|---|
| RGB | rgb(47, 48, 172) |
| HSL | hsl(240, 57%, 43%) |
| HSV | hsv(240, 73%, 67%) |
| CMYK | cmyk(72.7%, 72.1%, 0%, 32.5%) |
| CIE-LAB | lab(28.63, 41.06, -65.82) |
| CIE-LCH | lch(28.63, 77.58, 301.96°) |
| OKLab | oklab(40.2% 0.0113 -0.1904) |
| OKLCH | oklch(40.2% 0.191 273.4) |
| XYZ | xyz(9.6731, 5.6958, 39.6113) |
| Luminance | 0.0570 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.94
Indigo Blue
#3A18B1
ΔE00 5.06
Ocean Blue
#4F42B5
ΔE00 5.97
Blue Blue
#2242C7
ΔE00 6.13
Blue With A Hint Of Purple
#533CC6
ΔE00 6.46
True Blue
#010FCC
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F30AC #ACAB2F
analogous
#2F6EAC #2F30AC #6C2FAC
triadic
#2F30AC #AC2F30 #30AC2F
tetradic
#2F30AC #AC2F6E #ACAB2F #2FAC6C
square
#2F30AC #AC2F6E #ACAB2F #2FAC6C
split-complementary
#2F30AC #AC6C2F #6EAC2F
monochromatic
#15154C #22237C #2F30AC #4B4CCE #7B7BDB
Accessibility & contrast
On white
9.82
#2F30AC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#2F30AC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F30AC
9.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F30AC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F30AC | 1.00 | 9.82 | 2.14 | 9.82 |
| #FFFFFF | 9.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049B0
Deuteranopia (green-blind)
#003DAA
Tritanopia (blue-blind)
#00536B
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2f30ac; /* rgb */ color: rgb(47, 48, 172); /* oklch */ color: oklch(40.2% 0.191 273.4);
Tailwind
colors: {
custom: {
50: '#7b69c6',
500: '#2f30ac',
950: '#000000',
},
}SCSS
$custom: #2f30ac; $custom-light: #7b69c6; $custom-dark: #000000;
JSON
{
"hex": "#2f30ac",
"rgb": {
"r": 47,
"g": 48,
"b": 172
},
"hsl": {
"h": 239.52,
"s": 57.078,
"l": 42.941
},
"oklch": {
"l": 0.40204,
"c": 0.19072,
"h": 273.4
},
"luminance": 0.05697
}Semantic roles & 50–950 ramp
primary
#2F30AC
secondary
#C3C374
accent
#DF47E0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82