#2F30AE#2F30AE
#2F30AE is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.4% C 0.193 H 273.2°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).
Color values
| HEX | #2F30AE |
|---|---|
| RGB | rgb(47, 48, 174) |
| HSL | hsl(240, 57%, 43%) |
| HSV | hsv(240, 73%, 68%) |
| CMYK | cmyk(73%, 72.4%, 0%, 31.8%) |
| CIE-LAB | lab(28.83, 41.74, -66.69) |
| CIE-LCH | lch(28.83, 78.68, 302.04°) |
| OKLab | oklab(40.41% 0.0109 -0.1929) |
| OKLCH | oklch(40.41% 0.193 273.2) |
| XYZ | xyz(9.8667, 5.7732, 40.6306) |
| Luminance | 0.0577 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.00
Indigo Blue
#3A18B1
ΔE00 5.01
Ocean Blue
#4F42B5
ΔE00 5.89
Blue Blue
#2242C7
ΔE00 5.99
Blue With A Hint Of Purple
#533CC6
ΔE00 6.28
True Blue
#010FCC
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F30AE #AEAD2F
analogous
#2F6FAE #2F30AE #6E2FAE
triadic
#2F30AE #AE2F30 #30AE2F
tetradic
#2F30AE #AE2F6F #AEAD2F #2FAE6E
square
#2F30AE #AE2F6F #AEAD2F #2FAE6E
split-complementary
#2F30AE #AE6E2F #6FAE2F
monochromatic
#15154E #22237E #2F30AE #4C4DCF #7C7DDC
Accessibility & contrast
On white
9.75
#2F30AE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#2F30AE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F30AE
9.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F30AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F30AE | 1.00 | 9.75 | 2.15 | 9.75 |
| #FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AB2
Deuteranopia (green-blind)
#003EAC
Tritanopia (blue-blind)
#00546C
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2f30ae; /* rgb */ color: rgb(47, 48, 174); /* oklch */ color: oklch(40.4% 0.193 273.2);
Tailwind
colors: {
custom: {
50: '#7b69c7',
500: '#2f30ae',
950: '#000000',
},
}SCSS
$custom: #2f30ae; $custom-light: #7b69c7; $custom-dark: #000000;
JSON
{
"hex": "#2f30ae",
"rgb": {
"r": 47,
"g": 48,
"b": 174
},
"hsl": {
"h": 239.528,
"s": 57.466,
"l": 43.333
},
"oklch": {
"l": 0.40408,
"c": 0.19322,
"h": 273.2
},
"luminance": 0.05774
}Semantic roles & 50–950 ramp
primary
#2F30AE
secondary
#C4C375
accent
#E047E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82