#2F48A9#2F48A9
#2F48A9 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.2% C 0.158 H 268.2°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).
Color values
| HEX | #2F48A9 |
|---|---|
| RGB | rgb(47, 72, 169) |
| HSL | hsl(228, 56%, 42%) |
| HSV | hsv(228, 72%, 66%) |
| CMYK | cmyk(72.2%, 57.4%, 0%, 33.7%) |
| CIE-LAB | lab(34.20, 24.68, -54.92) |
| CIE-LCH | lch(34.20, 60.21, 294.20°) |
| OKLab | oklab(44.2% -0.0049 -0.1583) |
| OKLCH | oklch(44.2% 0.158 268.2) |
| XYZ | xyz(10.6486, 8.1025, 38.5312) |
| Luminance | 0.0810 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.14
Blue Blue
#2242C7
ΔE00 4.54
Sapphire
#0F52BA
ΔE00 4.83
Sapphire (survey)
#2138AB
ΔE00 4.91
Cobalt (survey)
#1E488F
ΔE00 4.92
Blueberry
#464196
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F48A9 #A9902F
analogous
#2F85A9 #2F48A9 #532FA9
triadic
#2F48A9 #A92F48 #48A92F
tetradic
#2F48A9 #A92F85 #A9902F #2FA953
square
#2F48A9 #A92F85 #A9902F #2FA953
split-complementary
#2F48A9 #A9532F #85A92F
monochromatic
#141F49 #223479 #2F48A9 #4964CC #798DDA
Accessibility & contrast
On white
8.01
#2F48A9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#2F48A9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F48A9
8.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F48A9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F48A9 | 1.00 | 8.01 | 2.62 | 8.01 |
| #FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056AC
Deuteranopia (green-blind)
#004BA7
Tritanopia (blue-blind)
#006071
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2f48a9; /* rgb */ color: rgb(47, 72, 169); /* oklch */ color: oklch(44.2% 0.158 268.2);
Tailwind
colors: {
custom: {
50: '#787ac3',
500: '#2f48a9',
950: '#000000',
},
}SCSS
$custom: #2f48a9; $custom-light: #787ac3; $custom-dark: #000000;
JSON
{
"hex": "#2f48a9",
"rgb": {
"r": 47,
"g": 72,
"b": 169
},
"hsl": {
"h": 227.705,
"s": 56.481,
"l": 42.353
},
"oklch": {
"l": 0.44203,
"c": 0.15837,
"h": 268.2
},
"luminance": 0.08104
}Semantic roles & 50–950 ramp
primary
#2F48A9
secondary
#C2B172
accent
#C148E0
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82