#2F5399#2F5399
#2F5399 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.3% C 0.122 H 262.2°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5399 |
|---|---|
| RGB | rgb(47, 83, 153) |
| HSL | hsl(220, 53%, 39%) |
| HSV | hsv(220, 69%, 60%) |
| CMYK | cmyk(69.3%, 45.8%, 0%, 40%) |
| CIE-LAB | lab(36.16, 11.33, -42.15) |
| CIE-LCH | lch(36.16, 43.65, 285.05°) |
| OKLab | oklab(45.33% -0.0165 -0.1205) |
| OKLCH | oklch(45.33% 0.122 262.2) |
| XYZ | xyz(10.0133, 9.0898, 31.3576) |
| Luminance | 0.0909 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.53
Denim Blue
#3B5B92
ΔE00 2.97
Cobalt (survey)
#1E488F
ΔE00 3.74
Light Navy Blue
#2E5A88
ΔE00 4.24
Sapphire
#0F52BA
ΔE00 4.25
Cobalt
#0047AB
ΔE00 4.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5399 #99752F
analogous
#2F8899 #2F5399 #402F99
triadic
#2F5399 #992F53 #53992F
tetradic
#2F5399 #992F88 #99752F #2F9940
square
#2F5399 #992F88 #99752F #2F9940
split-complementary
#2F5399 #99402F #88992F
monochromatic
#12203B #213A6A #2F5399 #416DC5 #6F91D3
Accessibility & contrast
On white
7.45
#2F5399 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#2F5399 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F5399
7.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5399 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5399 | 1.00 | 7.45 | 2.82 | 7.45 |
| #FFFFFF | 7.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#305A9C
Deuteranopia (green-blind)
#1D5098
Tritanopia (blue-blind)
#00636E
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2f5399; /* rgb */ color: rgb(47, 83, 153); /* oklch */ color: oklch(45.3% 0.122 262.2);
Tailwind
colors: {
custom: {
50: '#7482b7',
500: '#2f5399',
950: '#000000',
},
}SCSS
$custom: #2f5399; $custom-light: #7482b7; $custom-dark: #000000;
JSON
{
"hex": "#2f5399",
"rgb": {
"r": 47,
"g": 83,
"b": 153
},
"hsl": {
"h": 219.623,
"s": 53,
"l": 39.216
},
"oklch": {
"l": 0.45334,
"c": 0.12168,
"h": 262.2
},
"luminance": 0.09091
}Semantic roles & 50–950 ramp
primary
#2F5399
secondary
#BA9F69
accent
#AB4BDC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80