#2F48BF#2F48BF
#2F48BF is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.1% C 0.188 H 268.6°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).
Color values
| HEX | #2F48BF |
|---|---|
| RGB | rgb(47, 72, 191) |
| HSL | hsl(230, 61%, 47%) |
| HSV | hsv(230, 75%, 75%) |
| CMYK | cmyk(75.4%, 62.3%, 0%, 25.1%) |
| CIE-LAB | lab(35.98, 32.82, -65.02) |
| CIE-LCH | lch(35.98, 72.84, 296.79°) |
| OKLab | oklab(46.09% -0.0047 -0.1879) |
| OKLCH | oklch(46.09% 0.188 268.6) |
| XYZ | xyz(12.8904, 8.9993, 50.3378) |
| Luminance | 0.0900 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.05
Blue (survey)
#0343DF
ΔE00 4.05
Cobalt
#0047AB
ΔE00 4.82
Ocean Blue
#4F42B5
ΔE00 5.04
Sapphire
#0F52BA
ΔE00 5.10
Sapphire (survey)
#2138AB
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F48BF #BFA62F
analogous
#2F90BF #2F48BF #5E2FBF
triadic
#2F48BF #BF2F48 #48BF2F
tetradic
#2F48BF #BF2F90 #BFA62F #2FBF5E
square
#2F48BF #BF2F90 #BFA62F #2FBF5E
split-complementary
#2F48BF #BF5E2F #90BF2F
monochromatic
#17235D #23358E #2F48BF #566CD5 #8797E1
Accessibility & contrast
On white
7.50
#2F48BF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#2F48BF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F48BF
7.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F48BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F48BF | 1.00 | 7.50 | 2.80 | 7.50 |
| #FFFFFF | 7.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CC3
Deuteranopia (green-blind)
#004EBD
Tritanopia (blue-blind)
#00677C
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2f48bf; /* rgb */ color: rgb(47, 72, 191); /* oklch */ color: oklch(46.1% 0.188 268.6);
Tailwind
colors: {
custom: {
50: '#7d7ad3',
500: '#2f48bf',
950: '#000000',
},
}SCSS
$custom: #2f48bf; $custom-light: #7d7ad3; $custom-dark: #000000;
JSON
{
"hex": "#2f48bf",
"rgb": {
"r": 47,
"g": 72,
"b": 191
},
"hsl": {
"h": 229.583,
"s": 60.504,
"l": 46.667
},
"oklch": {
"l": 0.46089,
"c": 0.18801,
"h": 268.6
},
"luminance": 0.09001
}Semantic roles & 50–950 ramp
primary
#2F48BF
secondary
#CBBE7F
accent
#C844E4
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83