#2F28A8#2F28A8
#2F28A8 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.6% C 0.194 H 274.8°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).
Color values
| HEX | #2F28A8 |
|---|---|
| RGB | rgb(47, 40, 168) |
| HSL | hsl(243, 62%, 41%) |
| HSV | hsv(243, 76%, 66%) |
| CMYK | cmyk(72%, 76.2%, 0%, 34.1%) |
| CIE-LAB | lab(26.59, 44.30, -66.79) |
| CIE-LCH | lch(26.59, 80.15, 303.56°) |
| OKLab | oklab(38.63% 0.0162 -0.1931) |
| OKLCH | oklch(38.63% 0.194 274.8) |
| XYZ | xyz(8.9966, 4.9482, 37.5192) |
| Luminance | 0.0495 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.41
Sapphire (survey)
#2138AB
ΔE00 4.76
Royal
#0C1793
ΔE00 5.27
True Blue
#010FCC
ΔE00 5.47
Cobalt Blue
#030AA7
ΔE00 5.51
Ultramarine
#2000B1
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F28A8 #A1A828
analogous
#2861A8 #2F28A8 #6F28A8
triadic
#2F28A8 #A82F28 #28A82F
tetradic
#2F28A8 #A82861 #A1A828 #28A86F
square
#2F28A8 #A82861 #A1A828 #28A86F
split-complementary
#2F28A8 #A86F28 #61A828
monochromatic
#131045 #211C77 #2F28A8 #453DD1 #746EDC
Accessibility & contrast
On white
10.55
#2F28A8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#2F28A8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F28A8
10.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F28A8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F28A8 | 1.00 | 10.55 | 1.99 | 10.55 |
| #FFFFFF | 10.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045AC
Deuteranopia (green-blind)
#0039A6
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2f28a8; /* rgb */ color: rgb(47, 40, 168); /* oklch */ color: oklch(38.6% 0.194 274.8);
Tailwind
colors: {
custom: {
50: '#7b64c3',
500: '#2f28a8',
950: '#000000',
},
}SCSS
$custom: #2f28a8; $custom-light: #7b64c3; $custom-dark: #000000;
JSON
{
"hex": "#2f28a8",
"rgb": {
"r": 47,
"g": 40,
"b": 168
},
"hsl": {
"h": 243.281,
"s": 61.538,
"l": 40.784
},
"oklch": {
"l": 0.38627,
"c": 0.19383,
"h": 274.8
},
"luminance": 0.04949
}Semantic roles & 50–950 ramp
primary
#2F28A8
secondary
#BEC369
accent
#E543DC
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82