#2F48BE#2F48BE
#2F48BE is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.0% C 0.187 H 268.6°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).
Color values
| HEX | #2F48BE |
|---|---|
| RGB | rgb(47, 72, 190) |
| HSL | hsl(230, 60%, 46%) |
| HSV | hsv(230, 75%, 75%) |
| CMYK | cmyk(75.3%, 62.1%, 0%, 25.5%) |
| CIE-LAB | lab(35.90, 32.46, -64.57) |
| CIE-LCH | lch(35.90, 72.27, 296.69°) |
| OKLab | oklab(46% -0.0047 -0.1866) |
| OKLCH | oklch(46% 0.187 268.6) |
| XYZ | xyz(12.7807, 8.9554, 49.7602) |
| Luminance | 0.0896 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.12
Blue (survey)
#0343DF
ΔE00 4.18
Cobalt
#0047AB
ΔE00 4.71
Sapphire
#0F52BA
ΔE00 5.05
Ocean Blue
#4F42B5
ΔE00 5.05
Sapphire (survey)
#2138AB
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F48BE #BEA52F
analogous
#2F90BE #2F48BE #5D2FBE
triadic
#2F48BE #BE2F48 #48BE2F
tetradic
#2F48BE #BE2F90 #BEA52F #2FBE5D
square
#2F48BE #BE2F90 #BEA52F #2FBE5D
split-complementary
#2F48BE #BE5D2F #90BE2F
monochromatic
#17235C #23358D #2F48BE #556CD5 #8696E1
Accessibility & contrast
On white
7.52
#2F48BE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#2F48BE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F48BE
7.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F48BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F48BE | 1.00 | 7.52 | 2.79 | 7.52 |
| #FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BC2
Deuteranopia (green-blind)
#004EBC
Tritanopia (blue-blind)
#00667C
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2f48be; /* rgb */ color: rgb(47, 72, 190); /* oklch */ color: oklch(46.0% 0.187 268.6);
Tailwind
colors: {
custom: {
50: '#7d7ad3',
500: '#2f48be',
950: '#000000',
},
}SCSS
$custom: #2f48be; $custom-light: #7d7ad3; $custom-dark: #000000;
JSON
{
"hex": "#2f48be",
"rgb": {
"r": 47,
"g": 72,
"b": 190
},
"hsl": {
"h": 229.51,
"s": 60.338,
"l": 46.471
},
"oklch": {
"l": 0.46001,
"c": 0.18669,
"h": 268.6
},
"luminance": 0.08957
}Semantic roles & 50–950 ramp
primary
#2F48BE
secondary
#CBBD7E
accent
#C844E3
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83