#2F48B6#2F48B6
#2F48B6 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.3% C 0.176 H 268.5°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).
Color values
| HEX | #2F48B6 |
|---|---|
| RGB | rgb(47, 72, 182) |
| HSL | hsl(229, 59%, 45%) |
| HSV | hsv(229, 74%, 71%) |
| CMYK | cmyk(74.2%, 60.4%, 0%, 28.6%) |
| CIE-LAB | lab(35.23, 29.52, -60.95) |
| CIE-LCH | lch(35.23, 67.72, 295.84°) |
| OKLab | oklab(45.3% -0.0046 -0.176) |
| OKLCH | oklch(45.3% 0.176 268.5) |
| XYZ | xyz(11.9302, 8.6152, 45.2810) |
| Luminance | 0.0862 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.88
Cobalt
#0047AB
ΔE00 3.94
Sapphire
#0F52BA
ΔE00 4.78
Sapphire (survey)
#2138AB
ΔE00 4.87
Blue (survey)
#0343DF
ΔE00 5.20
Ocean Blue
#4F42B5
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F48B6 #B69D2F
analogous
#2F8BB6 #2F48B6 #5A2FB6
triadic
#2F48B6 #B62F48 #48B62F
tetradic
#2F48B6 #B62F8B #B69D2F #2FB65A
square
#2F48B6 #B62F8B #B69D2F #2FB65A
split-complementary
#2F48B6 #B65A2F #8BB62F
monochromatic
#162255 #223585 #2F48B6 #5068D2 #8192DE
Accessibility & contrast
On white
7.71
#2F48B6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#2F48B6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F48B6
7.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F48B6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F48B6 | 1.00 | 7.71 | 2.72 | 7.71 |
| #FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059BA
Deuteranopia (green-blind)
#004DB4
Tritanopia (blue-blind)
#006478
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2f48b6; /* rgb */ color: rgb(47, 72, 182); /* oklch */ color: oklch(45.3% 0.176 268.5);
Tailwind
colors: {
custom: {
50: '#7b7acd',
500: '#2f48b6',
950: '#000000',
},
}SCSS
$custom: #2f48b6; $custom-light: #7b7acd; $custom-dark: #000000;
JSON
{
"hex": "#2f48b6",
"rgb": {
"r": 47,
"g": 72,
"b": 182
},
"hsl": {
"h": 228.889,
"s": 58.952,
"l": 44.902
},
"oklch": {
"l": 0.45301,
"c": 0.17607,
"h": 268.5
},
"luminance": 0.08616
}Semantic roles & 50–950 ramp
primary
#2F48B6
secondary
#C7B979
accent
#C546E2
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82