#2F5299#2F5299
#2F5299 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.1% C 0.123 H 262.7°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5299 |
|---|---|
| RGB | rgb(47, 82, 153) |
| HSL | hsl(220, 53%, 39%) |
| HSV | hsv(220, 69%, 60%) |
| CMYK | cmyk(69.3%, 46.4%, 0%, 40%) |
| CIE-LAB | lab(35.86, 12.00, -42.62) |
| CIE-LCH | lch(35.86, 44.28, 285.72°) |
| OKLab | oklab(45.11% -0.0155 -0.1219) |
| OKLCH | oklch(45.11% 0.123 262.7) |
| XYZ | xyz(9.9373, 8.9378, 31.3323) |
| Luminance | 0.0894 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.72
Denim Blue
#3B5B92
ΔE00 3.27
Cobalt (survey)
#1E488F
ΔE00 3.49
Sapphire
#0F52BA
ΔE00 4.28
Light Navy Blue
#2E5A88
ΔE00 4.53
Cobalt
#0047AB
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5299 #99762F
analogous
#2F8799 #2F5299 #412F99
triadic
#2F5299 #992F52 #52992F
tetradic
#2F5299 #992F87 #99762F #2F9941
square
#2F5299 #992F87 #99762F #2F9941
split-complementary
#2F5299 #99412F #87992F
monochromatic
#12203B #21396A #2F5299 #416CC5 #6F90D3
Accessibility & contrast
On white
7.53
#2F5299 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#2F5299 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F5299
7.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5299 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5299 | 1.00 | 7.53 | 2.79 | 7.53 |
| #FFFFFF | 7.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F5A9C
Deuteranopia (green-blind)
#1A5098
Tritanopia (blue-blind)
#00626E
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2f5299; /* rgb */ color: rgb(47, 82, 153); /* oklch */ color: oklch(45.1% 0.123 262.7);
Tailwind
colors: {
custom: {
50: '#7482b7',
500: '#2f5299',
950: '#000000',
},
}SCSS
$custom: #2f5299; $custom-light: #7482b7; $custom-dark: #000000;
JSON
{
"hex": "#2f5299",
"rgb": {
"r": 47,
"g": 82,
"b": 153
},
"hsl": {
"h": 220.189,
"s": 53,
"l": 39.216
},
"oklch": {
"l": 0.4511,
"c": 0.12294,
"h": 262.7
},
"luminance": 0.08939
}Semantic roles & 50–950 ramp
primary
#2F5299
secondary
#BAA069
accent
#AD4BDC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80