#2F49B7#2F49B7
#2F49B7 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.6% C 0.176 H 268.3°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).
Color values
| HEX | #2F49B7 |
|---|---|
| RGB | rgb(47, 73, 183) |
| HSL | hsl(229, 59%, 45%) |
| HSV | hsv(229, 74%, 72%) |
| CMYK | cmyk(74.3%, 60.1%, 0%, 28.2%) |
| CIE-LAB | lab(35.57, 29.23, -60.99) |
| CIE-LCH | lch(35.57, 67.63, 295.61°) |
| OKLab | oklab(45.58% -0.0053 -0.1761) |
| OKLCH | oklch(45.58% 0.176 268.3) |
| XYZ | xyz(12.0991, 8.7870, 45.8490) |
| Luminance | 0.0879 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.99
Cobalt
#0047AB
ΔE00 3.93
Sapphire
#0F52BA
ΔE00 4.51
Blue (survey)
#0343DF
ΔE00 5.17
Sapphire (survey)
#2138AB
ΔE00 5.19
Ocean Blue
#4F42B5
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F49B7 #B79D2F
analogous
#2F8DB7 #2F49B7 #592FB7
triadic
#2F49B7 #B72F49 #49B72F
tetradic
#2F49B7 #B72F8D #B79D2F #2FB759
square
#2F49B7 #B72F8D #B79D2F #2FB759
split-complementary
#2F49B7 #B7592F #8DB72F
monochromatic
#162256 #223686 #2F49B7 #516AD2 #8293DF
Accessibility & contrast
On white
7.62
#2F49B7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#2F49B7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F49B7
7.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F49B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F49B7 | 1.00 | 7.62 | 2.76 | 7.62 |
| #FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005ABB
Deuteranopia (green-blind)
#004EB5
Tritanopia (blue-blind)
#006579
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2f49b7; /* rgb */ color: rgb(47, 73, 183); /* oklch */ color: oklch(45.6% 0.176 268.3);
Tailwind
colors: {
custom: {
50: '#7b7bcd',
500: '#2f49b7',
950: '#000000',
},
}SCSS
$custom: #2f49b7; $custom-light: #7b7bcd; $custom-dark: #000000;
JSON
{
"hex": "#2f49b7",
"rgb": {
"r": 47,
"g": 73,
"b": 183
},
"hsl": {
"h": 228.529,
"s": 59.13,
"l": 45.098
},
"oklch": {
"l": 0.45578,
"c": 0.17619,
"h": 268.3
},
"luminance": 0.08788
}Semantic roles & 50–950 ramp
primary
#2F49B7
secondary
#C8B97A
accent
#C445E2
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82