#2F48A0#2F48A0
#2F48A0 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.5% C 0.146 H 267.9°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).
Color values
| HEX | #2F48A0 |
|---|---|
| RGB | rgb(47, 72, 160) |
| HSL | hsl(227, 55%, 41%) |
| HSV | hsv(227, 71%, 63%) |
| CMYK | cmyk(70.6%, 55%, 0%, 37.3%) |
| CIE-LAB | lab(33.51, 21.30, -50.63) |
| CIE-LCH | lch(33.51, 54.93, 292.82°) |
| OKLab | oklab(43.47% -0.0054 -0.1457) |
| OKLCH | oklch(43.47% 0.146 267.9) |
| XYZ | xyz(9.8326, 7.7762, 34.2336) |
| Luminance | 0.0778 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.18
Cobalt (survey)
#1E488F
ΔE00 3.83
Sapphire
#0F52BA
ΔE00 5.25
Blueberry
#464196
ΔE00 5.37
Sapphire (survey)
#2138AB
ΔE00 5.41
Blue Blue
#2242C7
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F48A0 #A0872F
analogous
#2F80A0 #2F48A0 #4F2FA0
triadic
#2F48A0 #A02F48 #48A02F
tetradic
#2F48A0 #A02F80 #A0872F #2FA04F
square
#2F48A0 #A02F80 #A0872F #2FA04F
split-complementary
#2F48A0 #A04F2F #80A02F
monochromatic
#131D41 #213371 #2F48A0 #4461C8 #7389D6
Accessibility & contrast
On white
8.22
#2F48A0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#2F48A0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F48A0
8.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F48A0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F48A0 | 1.00 | 8.22 | 2.56 | 8.22 |
| #FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0254A3
Deuteranopia (green-blind)
#004A9E
Tritanopia (blue-blind)
#005D6D
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2f48a0; /* rgb */ color: rgb(47, 72, 160); /* oklch */ color: oklch(43.5% 0.146 267.9);
Tailwind
colors: {
custom: {
50: '#767abd',
500: '#2f48a0',
950: '#000000',
},
}SCSS
$custom: #2f48a0; $custom-light: #767abd; $custom-dark: #000000;
JSON
{
"hex": "#2f48a0",
"rgb": {
"r": 47,
"g": 72,
"b": 160
},
"hsl": {
"h": 226.726,
"s": 54.589,
"l": 40.588
},
"oklch": {
"l": 0.43474,
"c": 0.14578,
"h": 267.9
},
"luminance": 0.07777
}Semantic roles & 50–950 ramp
primary
#2F48A0
secondary
#BEAC6D
accent
#BD4ADE
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0912
muted
#7C7B81