#2F579C#2F579C
#2F579C is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.4% C 0.121 H 260.5°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).
Color values
| HEX | #2F579C |
|---|---|
| RGB | rgb(47, 87, 156) |
| HSL | hsl(218, 54%, 40%) |
| HSV | hsv(218, 70%, 61%) |
| CMYK | cmyk(69.9%, 44.2%, 0%, 38.8%) |
| CIE-LAB | lab(37.52, 9.84, -41.78) |
| CIE-LCH | lch(37.52, 42.92, 283.25°) |
| OKLab | oklab(46.44% -0.0199 -0.1194) |
| OKLCH | oklch(46.44% 0.121 260.5) |
| XYZ | xyz(10.5791, 9.8199, 32.7840) |
| Luminance | 0.0982 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 2.22
Dusk Blue
#26538D
ΔE00 2.61
Light Navy Blue
#2E5A88
ΔE00 3.50
Sapphire
#0F52BA
ΔE00 4.11
Dusky Blue
#475F94
ΔE00 4.31
Cobalt (survey)
#1E488F
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F579C #9C742F
analogous
#2F8D9C #2F579C #3E2F9C
triadic
#2F579C #9C2F57 #579C2F
tetradic
#2F579C #9C2F8D #9C742F #2F9C3E
square
#2F579C #9C2F8D #9C742F #2F9C3E
split-complementary
#2F579C #9C3E2F #8D9C2F
monochromatic
#13233E #213D6D #2F579C #4273C6 #7196D4
Accessibility & contrast
On white
7.08
#2F579C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#2F579C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F579C
7.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F579C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F579C | 1.00 | 7.08 | 2.96 | 7.08 |
| #FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#365E9F
Deuteranopia (green-blind)
#23549B
Tritanopia (blue-blind)
#006772
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2f579c; /* rgb */ color: rgb(47, 87, 156); /* oklch */ color: oklch(46.4% 0.121 260.5);
Tailwind
colors: {
custom: {
50: '#7585ba',
500: '#2f579c',
950: '#000000',
},
}SCSS
$custom: #2f579c; $custom-light: #7585ba; $custom-dark: #000000;
JSON
{
"hex": "#2f579c",
"rgb": {
"r": 47,
"g": 87,
"b": 156
},
"hsl": {
"h": 217.982,
"s": 53.695,
"l": 39.804
},
"oklch": {
"l": 0.46443,
"c": 0.12104,
"h": 260.5
},
"luminance": 0.09821
}Semantic roles & 50–950 ramp
primary
#2F579C
secondary
#BC9E6B
accent
#A74BDD
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80