#2F48B2#2F48B2
#2F48B2 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 45.0% C 0.171 H 268.4°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #2F48B2 |
|---|---|
| RGB | rgb(47, 72, 178) |
| HSL | hsl(229, 58%, 44%) |
| HSV | hsv(229, 74%, 70%) |
| CMYK | cmyk(73.6%, 59.6%, 0%, 30.2%) |
| CIE-LAB | lab(34.91, 28.03, -59.12) |
| CIE-LCH | lch(34.91, 65.43, 295.37°) |
| OKLab | oklab(44.96% -0.0047 -0.1706) |
| OKLCH | oklch(44.96% 0.171 268.4) |
| XYZ | xyz(11.5228, 8.4522, 43.1350) |
| Luminance | 0.0845 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.36
Cobalt
#0047AB
ΔE00 3.61
Sapphire
#0F52BA
ΔE00 4.72
Sapphire (survey)
#2138AB
ΔE00 4.79
Ocean Blue
#4F42B5
ΔE00 5.48
Blue (survey)
#0343DF
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F48B2 #B2992F
analogous
#2F8AB2 #2F48B2 #582FB2
triadic
#2F48B2 #B22F48 #48B22F
tetradic
#2F48B2 #B22F8A #B2992F #2FB258
square
#2F48B2 #B22F8A #B2992F #2FB258
split-complementary
#2F48B2 #B2582F #8AB22F
monochromatic
#152151 #223482 #2F48B2 #4E67D0 #7E90DD
Accessibility & contrast
On white
7.80
#2F48B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#2F48B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F48B2
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F48B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F48B2 | 1.00 | 7.80 | 2.69 | 7.80 |
| #FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#004CB0
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2f48b2; /* rgb */ color: rgb(47, 72, 178); /* oklch */ color: oklch(45.0% 0.171 268.4);
Tailwind
colors: {
custom: {
50: '#7a7aca',
500: '#2f48b2',
950: '#000000',
},
}SCSS
$custom: #2f48b2; $custom-light: #7a7aca; $custom-dark: #000000;
JSON
{
"hex": "#2f48b2",
"rgb": {
"r": 47,
"g": 72,
"b": 178
},
"hsl": {
"h": 228.55,
"s": 58.222,
"l": 44.118
},
"oklch": {
"l": 0.44957,
"c": 0.17068,
"h": 268.4
},
"luminance": 0.08453
}Semantic roles & 50–950 ramp
primary
#2F48B2
secondary
#C6B777
accent
#C446E1
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82