#2F30AB#2F30AB
#2F30AB is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.1% C 0.189 H 273.5°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).
Color values
| HEX | #2F30AB |
|---|---|
| RGB | rgb(47, 48, 171) |
| HSL | hsl(240, 57%, 43%) |
| HSV | hsv(240, 73%, 67%) |
| CMYK | cmyk(72.5%, 71.9%, 0%, 32.9%) |
| CIE-LAB | lab(28.53, 40.72, -65.39) |
| CIE-LCH | lch(28.53, 77.03, 301.91°) |
| OKLab | oklab(40.1% 0.0114 -0.1891) |
| OKLCH | oklch(40.1% 0.189 273.5) |
| XYZ | xyz(9.5775, 5.6576, 39.1075) |
| Luminance | 0.0566 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.92
Indigo Blue
#3A18B1
ΔE00 5.10
Ocean Blue
#4F42B5
ΔE00 6.01
Blue Blue
#2242C7
ΔE00 6.21
Blueberry
#464196
ΔE00 6.44
True Blue
#010FCC
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F30AB #ABAA2F
analogous
#2F6EAB #2F30AB #6C2FAB
triadic
#2F30AB #AB2F30 #30AB2F
tetradic
#2F30AB #AB2F6E #ABAA2F #2FAB6C
square
#2F30AB #AB2F6E #ABAA2F #2FAB6C
split-complementary
#2F30AB #AB6C2F #6EAB2F
monochromatic
#15154B #22237B #2F30AB #4A4BCD #7A7BDA
Accessibility & contrast
On white
9.85
#2F30AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#2F30AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F30AB
9.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F30AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F30AB | 1.00 | 9.85 | 2.13 | 9.85 |
| #FFFFFF | 9.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049AF
Deuteranopia (green-blind)
#003DA9
Tritanopia (blue-blind)
#00526A
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2f30ab; /* rgb */ color: rgb(47, 48, 171); /* oklch */ color: oklch(40.1% 0.189 273.5);
Tailwind
colors: {
custom: {
50: '#7b69c5',
500: '#2f30ab',
950: '#000000',
},
}SCSS
$custom: #2f30ab; $custom-light: #7b69c5; $custom-dark: #000000;
JSON
{
"hex": "#2f30ab",
"rgb": {
"r": 47,
"g": 48,
"b": 171
},
"hsl": {
"h": 239.516,
"s": 56.881,
"l": 42.745
},
"oklch": {
"l": 0.40102,
"c": 0.18946,
"h": 273.5
},
"luminance": 0.05659
}Semantic roles & 50–950 ramp
primary
#2F30AB
secondary
#C3C273
accent
#DF48E0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82