#2F49B9#2F49B9
#2F49B9 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.8% C 0.179 H 268.3°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).
Color values
| HEX | #2F49B9 |
|---|---|
| RGB | rgb(47, 73, 185) |
| HSL | hsl(229, 59%, 45%) |
| HSV | hsv(229, 75%, 73%) |
| CMYK | cmyk(74.6%, 60.5%, 0%, 27.5%) |
| CIE-LAB | lab(35.73, 29.97, -61.90) |
| CIE-LCH | lch(35.73, 68.78, 295.84°) |
| OKLab | oklab(45.75% -0.0053 -0.1788) |
| OKLCH | oklch(45.75% 0.179 268.3) |
| XYZ | xyz(12.3088, 8.8709, 46.9531) |
| Luminance | 0.0887 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.79
Cobalt
#0047AB
ΔE00 4.12
Sapphire
#0F52BA
ΔE00 4.57
Blue (survey)
#0343DF
ΔE00 4.91
Sapphire (survey)
#2138AB
ΔE00 5.26
Ocean Blue
#4F42B5
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F49B9 #B99F2F
analogous
#2F8EB9 #2F49B9 #5A2FB9
triadic
#2F49B9 #B92F49 #49B92F
tetradic
#2F49B9 #B92F8E #B99F2F #2FB95A
square
#2F49B9 #B92F8E #B99F2F #2FB95A
split-complementary
#2F49B9 #B95A2F #8EB92F
monochromatic
#162257 #233688 #2F49B9 #526AD3 #8394DF
Accessibility & contrast
On white
7.57
#2F49B9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#2F49B9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F49B9
7.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F49B9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F49B9 | 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)
#005BBD
Deuteranopia (green-blind)
#004EB7
Tritanopia (blue-blind)
#00657A
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2f49b9; /* rgb */ color: rgb(47, 73, 185); /* oklch */ color: oklch(45.8% 0.179 268.3);
Tailwind
colors: {
custom: {
50: '#7c7bcf',
500: '#2f49b9',
950: '#000000',
},
}SCSS
$custom: #2f49b9; $custom-light: #7c7bcf; $custom-dark: #000000;
JSON
{
"hex": "#2f49b9",
"rgb": {
"r": 47,
"g": 73,
"b": 185
},
"hsl": {
"h": 228.696,
"s": 59.483,
"l": 45.49
},
"oklch": {
"l": 0.4575,
"c": 0.17887,
"h": 268.3
},
"luminance": 0.08872
}Semantic roles & 50–950 ramp
primary
#2F49B9
secondary
#C9BA7B
accent
#C545E3
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82