#2F28A9#2F28A9
#2F28A9 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.7% C 0.195 H 274.7°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).
Color values
| HEX | #2F28A9 |
|---|---|
| RGB | rgb(47, 40, 169) |
| HSL | hsl(243, 62%, 41%) |
| HSV | hsv(243, 76%, 66%) |
| CMYK | cmyk(72.2%, 76.3%, 0%, 33.7%) |
| CIE-LAB | lab(26.69, 44.63, -67.22) |
| CIE-LCH | lch(26.69, 80.68, 303.58°) |
| OKLab | oklab(38.73% 0.016 -0.1944) |
| OKLCH | oklch(38.73% 0.195 274.7) |
| XYZ | xyz(9.0901, 4.9856, 38.0117) |
| Luminance | 0.0499 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.36
Sapphire (survey)
#2138AB
ΔE00 4.76
Royal
#0C1793
ΔE00 5.35
True Blue
#010FCC
ΔE00 5.37
Cobalt Blue
#030AA7
ΔE00 5.52
Ultramarine
#2000B1
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F28A9 #A2A928
analogous
#2861A9 #2F28A9 #6F28A9
triadic
#2F28A9 #A92F28 #28A92F
tetradic
#2F28A9 #A92861 #A2A928 #28A96F
square
#2F28A9 #A92861 #A2A928 #28A96F
split-complementary
#2F28A9 #A96F28 #61A928
monochromatic
#131146 #211C78 #2F28A9 #453DD1 #756FDD
Accessibility & contrast
On white
10.51
#2F28A9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#2F28A9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F28A9
10.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F28A9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F28A9 | 1.00 | 10.51 | 2.00 | 10.51 |
| #FFFFFF | 10.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045AD
Deuteranopia (green-blind)
#0039A7
Tritanopia (blue-blind)
#004E67
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2f28a9; /* rgb */ color: rgb(47, 40, 169); /* oklch */ color: oklch(38.7% 0.195 274.7);
Tailwind
colors: {
custom: {
50: '#7b64c4',
500: '#2f28a9',
950: '#000000',
},
}SCSS
$custom: #2f28a9; $custom-light: #7b64c4; $custom-dark: #000000;
JSON
{
"hex": "#2f28a9",
"rgb": {
"r": 47,
"g": 40,
"b": 169
},
"hsl": {
"h": 243.256,
"s": 61.722,
"l": 40.98
},
"oklch": {
"l": 0.38734,
"c": 0.19504,
"h": 274.7
},
"luminance": 0.04986
}Semantic roles & 50–950 ramp
primary
#2F28A9
secondary
#BFC469
accent
#E543DC
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82