#2F48BC#2F48BC
#2F48BC is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.8% C 0.184 H 268.5°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).
Color values
| HEX | #2F48BC |
|---|---|
| RGB | rgb(47, 72, 188) |
| HSL | hsl(229, 60%, 46%) |
| HSV | hsv(229, 75%, 74%) |
| CMYK | cmyk(75%, 61.7%, 0%, 26.3%) |
| CIE-LAB | lab(35.73, 31.73, -63.67) |
| CIE-LCH | lch(35.73, 71.14, 296.49°) |
| OKLab | oklab(45.82% -0.0047 -0.184) |
| OKLCH | oklch(45.82% 0.184 268.5) |
| XYZ | xyz(12.5636, 8.8685, 48.6169) |
| Luminance | 0.0887 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.28
Blue (survey)
#0343DF
ΔE00 4.43
Cobalt
#0047AB
ΔE00 4.51
Sapphire
#0F52BA
ΔE00 4.96
Ocean Blue
#4F42B5
ΔE00 5.08
Sapphire (survey)
#2138AB
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F48BC #BCA32F
analogous
#2F8EBC #2F48BC #5C2FBC
triadic
#2F48BC #BC2F48 #48BC2F
tetradic
#2F48BC #BC2F8E #BCA32F #2FBC5C
square
#2F48BC #BC2F8E #BCA32F #2FBC5C
split-complementary
#2F48BC #BC5C2F #8EBC2F
monochromatic
#17225A #23358B #2F48BC #546BD4 #8595E0
Accessibility & contrast
On white
7.57
#2F48BC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#2F48BC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F48BC
7.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F48BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F48BC | 1.00 | 7.57 | 2.77 | 7.57 |
| #FFFFFF | 7.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BC0
Deuteranopia (green-blind)
#004EBA
Tritanopia (blue-blind)
#00667B
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2f48bc; /* rgb */ color: rgb(47, 72, 188); /* oklch */ color: oklch(45.8% 0.184 268.5);
Tailwind
colors: {
custom: {
50: '#7c7ad1',
500: '#2f48bc',
950: '#000000',
},
}SCSS
$custom: #2f48bc; $custom-light: #7c7ad1; $custom-dark: #000000;
JSON
{
"hex": "#2f48bc",
"rgb": {
"r": 47,
"g": 72,
"b": 188
},
"hsl": {
"h": 229.362,
"s": 60,
"l": 46.078
},
"oklch": {
"l": 0.45824,
"c": 0.18406,
"h": 268.5
},
"luminance": 0.0887
}Semantic roles & 50–950 ramp
primary
#2F48BC
secondary
#CABC7D
accent
#C745E3
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83