#2F579D#2F579D
#2F579D is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.5% C 0.122 H 260.7°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).
Color values
| HEX | #2F579D |
|---|---|
| RGB | rgb(47, 87, 157) |
| HSL | hsl(218, 54%, 40%) |
| HSV | hsv(218, 70%, 62%) |
| CMYK | cmyk(70.1%, 44.6%, 0%, 38.4%) |
| CIE-LAB | lab(37.58, 10.21, -42.28) |
| CIE-LCH | lch(37.58, 43.49, 283.58°) |
| OKLab | oklab(46.51% -0.0197 -0.1209) |
| OKLCH | oklch(46.51% 0.122 260.7) |
| XYZ | xyz(10.6641, 9.8540, 33.2317) |
| Luminance | 0.0985 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 2.28
Dusk Blue
#26538D
ΔE00 2.72
Light Navy Blue
#2E5A88
ΔE00 3.60
Sapphire
#0F52BA
ΔE00 4.01
Dusky Blue
#475F94
ΔE00 4.33
Denim
#1560BD
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F579D #9D752F
analogous
#2F8E9D #2F579D #3E2F9D
triadic
#2F579D #9D2F57 #579D2F
tetradic
#2F579D #9D2F8E #9D752F #2F9D3E
square
#2F579D #9D2F8E #9D752F #2F9D3E
split-complementary
#2F579D #9D3E2F #8E9D2F
monochromatic
#13233F #213D6E #2F579D #4373C7 #7296D5
Accessibility & contrast
On white
7.07
#2F579D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#2F579D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F579D
7.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F579D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F579D | 1.00 | 7.07 | 2.97 | 7.07 |
| #FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#355EA0
Deuteranopia (green-blind)
#22549C
Tritanopia (blue-blind)
#006772
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2f579d; /* rgb */ color: rgb(47, 87, 157); /* oklch */ color: oklch(46.5% 0.122 260.7);
Tailwind
colors: {
custom: {
50: '#7585ba',
500: '#2f579d',
950: '#000000',
},
}SCSS
$custom: #2f579d; $custom-light: #7585ba; $custom-dark: #000000;
JSON
{
"hex": "#2f579d",
"rgb": {
"r": 47,
"g": 87,
"b": 157
},
"hsl": {
"h": 218.182,
"s": 53.922,
"l": 40
},
"oklch": {
"l": 0.46511,
"c": 0.12246,
"h": 260.7
},
"luminance": 0.09855
}Semantic roles & 50–950 ramp
primary
#2F579D
secondary
#BC9F6B
accent
#A84BDD
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090B12
muted
#7B7C81