#2F30AA#2F30AA
#2F30AA is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.0% C 0.188 H 273.5°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).
Color values
| HEX | #2F30AA |
|---|---|
| RGB | rgb(47, 48, 170) |
| HSL | hsl(240, 57%, 43%) |
| HSV | hsv(240, 72%, 67%) |
| CMYK | cmyk(72.4%, 71.8%, 0%, 33.3%) |
| CIE-LAB | lab(28.43, 40.38, -64.95) |
| CIE-LCH | lch(28.43, 76.48, 301.87°) |
| OKLab | oklab(40% 0.0116 -0.1878) |
| OKLCH | oklch(40% 0.188 273.5) |
| XYZ | xyz(9.4825, 5.6196, 38.6074) |
| Luminance | 0.0562 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.91
Indigo Blue
#3A18B1
ΔE00 5.14
Ocean Blue
#4F42B5
ΔE00 6.05
Blue Blue
#2242C7
ΔE00 6.29
Blueberry
#464196
ΔE00 6.38
True Blue
#010FCC
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F30AA #AAA92F
analogous
#2F6EAA #2F30AA #6B2FAA
triadic
#2F30AA #AA2F30 #30AA2F
tetradic
#2F30AA #AA2F6E #AAA92F #2FAA6B
square
#2F30AA #AA2F6E #AAA92F #2FAA6B
split-complementary
#2F30AA #AA6B2F #6EAA2F
monochromatic
#14154A #22227A #2F30AA #494ACD #797ADA
Accessibility & contrast
On white
9.89
#2F30AA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#2F30AA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F30AA
9.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F30AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F30AA | 1.00 | 9.89 | 2.12 | 9.89 |
| #FFFFFF | 9.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049AE
Deuteranopia (green-blind)
#003DA8
Tritanopia (blue-blind)
#00526A
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2f30aa; /* rgb */ color: rgb(47, 48, 170); /* oklch */ color: oklch(40.0% 0.188 273.5);
Tailwind
colors: {
custom: {
50: '#7a69c4',
500: '#2f30aa',
950: '#000000',
},
}SCSS
$custom: #2f30aa; $custom-light: #7a69c4; $custom-dark: #000000;
JSON
{
"hex": "#2f30aa",
"rgb": {
"r": 47,
"g": 48,
"b": 170
},
"hsl": {
"h": 239.512,
"s": 56.682,
"l": 42.549
},
"oklch": {
"l": 0.40001,
"c": 0.1882,
"h": 273.5
},
"luminance": 0.05621
}Semantic roles & 50–950 ramp
primary
#2F30AA
secondary
#C2C272
accent
#DF48E0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82