#2F30AF#2F30AF
#2F30AF is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.5% C 0.194 H 273.2°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).
Color values
| HEX | #2F30AF |
|---|---|
| RGB | rgb(47, 48, 175) |
| HSL | hsl(240, 58%, 44%) |
| HSV | hsv(240, 73%, 69%) |
| CMYK | cmyk(73.1%, 72.6%, 0%, 31.4%) |
| CIE-LAB | lab(28.93, 42.08, -67.12) |
| CIE-LCH | lch(28.93, 79.22, 302.09°) |
| OKLab | oklab(40.51% 0.0108 -0.1942) |
| OKLCH | oklch(40.51% 0.194 273.2) |
| XYZ | xyz(9.9645, 5.8124, 41.1459) |
| Luminance | 0.0581 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.04
Indigo Blue
#3A18B1
ΔE00 4.98
Ocean Blue
#4F42B5
ΔE00 5.85
Blue Blue
#2242C7
ΔE00 5.92
Blue With A Hint Of Purple
#533CC6
ΔE00 6.20
True Blue
#010FCC
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F30AF #AFAE2F
analogous
#2F70AF #2F30AF #6E2FAF
triadic
#2F30AF #AF2F30 #30AF2F
tetradic
#2F30AF #AF2F70 #AFAE2F #2FAF6E
square
#2F30AF #AF2F70 #AFAE2F #2FAF6E
split-complementary
#2F30AF #AF6E2F #70AF2F
monochromatic
#15164F #22237F #2F30AF #4C4DCF #7C7DDC
Accessibility & contrast
On white
9.71
#2F30AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#2F30AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F30AF
9.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F30AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F30AF | 1.00 | 9.71 | 2.16 | 9.71 |
| #FFFFFF | 9.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AB3
Deuteranopia (green-blind)
#003EAD
Tritanopia (blue-blind)
#00546C
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2f30af; /* rgb */ color: rgb(47, 48, 175); /* oklch */ color: oklch(40.5% 0.194 273.2);
Tailwind
colors: {
custom: {
50: '#7b6ac8',
500: '#2f30af',
950: '#000000',
},
}SCSS
$custom: #2f30af; $custom-light: #7b6ac8; $custom-dark: #000000;
JSON
{
"hex": "#2f30af",
"rgb": {
"r": 47,
"g": 48,
"b": 175
},
"hsl": {
"h": 239.531,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.40511,
"c": 0.19447,
"h": 273.2
},
"luminance": 0.05813
}Semantic roles & 50–950 ramp
primary
#2F30AF
secondary
#C4C475
accent
#E047E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82