#2F49B8#2F49B8
#2F49B8 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.7% C 0.178 H 268.3°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).
Color values
| HEX | #2F49B8 |
|---|---|
| RGB | rgb(47, 73, 184) |
| HSL | hsl(229, 59%, 45%) |
| HSV | hsv(229, 74%, 72%) |
| CMYK | cmyk(74.5%, 60.3%, 0%, 27.8%) |
| CIE-LAB | lab(35.65, 29.60, -61.45) |
| CIE-LCH | lch(35.65, 68.21, 295.72°) |
| OKLab | oklab(45.66% -0.0053 -0.1774) |
| OKLCH | oklch(45.66% 0.178 268.3) |
| XYZ | xyz(12.2036, 8.8288, 46.3991) |
| Luminance | 0.0883 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.89
Cobalt
#0047AB
ΔE00 4.03
Sapphire
#0F52BA
ΔE00 4.54
Blue (survey)
#0343DF
ΔE00 5.04
Sapphire (survey)
#2138AB
ΔE00 5.22
Ocean Blue
#4F42B5
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F49B8 #B89E2F
analogous
#2F8DB8 #2F49B8 #592FB8
triadic
#2F49B8 #B82F49 #49B82F
tetradic
#2F49B8 #B82F8D #B89E2F #2FB859
square
#2F49B8 #B82F8D #B89E2F #2FB859
split-complementary
#2F49B8 #B8592F #8DB82F
monochromatic
#162257 #233687 #2F49B8 #526AD3 #8294DF
Accessibility & contrast
On white
7.59
#2F49B8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#2F49B8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F49B8
7.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F49B8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F49B8 | 1.00 | 7.59 | 2.77 | 7.59 |
| #FFFFFF | 7.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005ABC
Deuteranopia (green-blind)
#004EB6
Tritanopia (blue-blind)
#006579
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2f49b8; /* rgb */ color: rgb(47, 73, 184); /* oklch */ color: oklch(45.7% 0.178 268.3);
Tailwind
colors: {
custom: {
50: '#7b7bce',
500: '#2f49b8',
950: '#000000',
},
}SCSS
$custom: #2f49b8; $custom-light: #7b7bce; $custom-dark: #000000;
JSON
{
"hex": "#2f49b8",
"rgb": {
"r": 47,
"g": 73,
"b": 184
},
"hsl": {
"h": 228.613,
"s": 59.307,
"l": 45.294
},
"oklch": {
"l": 0.45664,
"c": 0.17753,
"h": 268.3
},
"luminance": 0.0883
}Semantic roles & 50–950 ramp
primary
#2F49B8
secondary
#C8BA7B
accent
#C545E2
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82