#2F49B5#2F49B5
#2F49B5 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.4% C 0.173 H 268.2°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #2F49B5 |
|---|---|
| RGB | rgb(47, 73, 181) |
| HSL | hsl(228, 59%, 45%) |
| HSV | hsv(228, 74%, 71%) |
| CMYK | cmyk(74%, 59.7%, 0%, 29%) |
| CIE-LAB | lab(35.41, 28.49, -60.07) |
| CIE-LCH | lch(35.41, 66.49, 295.37°) |
| OKLab | oklab(45.41% -0.0054 -0.1734) |
| OKLCH | oklch(45.41% 0.174 268.2) |
| XYZ | xyz(11.8924, 8.7044, 44.7605) |
| Luminance | 0.0871 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.21
Cobalt
#0047AB
ΔE00 3.76
Sapphire
#0F52BA
ΔE00 4.47
Sapphire (survey)
#2138AB
ΔE00 5.14
Blue (survey)
#0343DF
ΔE00 5.43
Ocean Blue
#4F42B5
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F49B5 #B59B2F
analogous
#2F8CB5 #2F49B5 #582FB5
triadic
#2F49B5 #B52F49 #49B52F
tetradic
#2F49B5 #B52F8C #B59B2F #2FB558
square
#2F49B5 #B52F8C #B59B2F #2FB558
split-complementary
#2F49B5 #B5582F #8CB52F
monochromatic
#162254 #223584 #2F49B5 #5069D1 #8093DE
Accessibility & contrast
On white
7.66
#2F49B5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#2F49B5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F49B5
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F49B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F49B5 | 1.00 | 7.66 | 2.74 | 7.66 |
| #FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB9
Deuteranopia (green-blind)
#004DB3
Tritanopia (blue-blind)
#006478
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2f49b5; /* rgb */ color: rgb(47, 73, 181); /* oklch */ color: oklch(45.4% 0.173 268.2);
Tailwind
colors: {
custom: {
50: '#7b7bcc',
500: '#2f49b5',
950: '#000000',
},
}SCSS
$custom: #2f49b5; $custom-light: #7b7bcc; $custom-dark: #000000;
JSON
{
"hex": "#2f49b5",
"rgb": {
"r": 47,
"g": 73,
"b": 181
},
"hsl": {
"h": 228.358,
"s": 58.772,
"l": 44.706
},
"oklch": {
"l": 0.45406,
"c": 0.1735,
"h": 268.2
},
"luminance": 0.08706
}Semantic roles & 50–950 ramp
primary
#2F49B5
secondary
#C7B879
accent
#C446E2
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82