#2F589D#2F589D
#2F589D is a mid, vivid blue. Relative luminance 0.100; OKLCH L 46.7% C 0.121 H 260.2°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).
Color values
| HEX | #2F589D |
|---|---|
| RGB | rgb(47, 88, 157) |
| HSL | hsl(218, 54%, 40%) |
| HSV | hsv(218, 70%, 62%) |
| CMYK | cmyk(70.1%, 43.9%, 0%, 38.4%) |
| CIE-LAB | lab(37.87, 9.56, -41.81) |
| CIE-LCH | lch(37.87, 42.89, 282.88°) |
| OKLab | oklab(46.74% -0.0207 -0.1195) |
| OKLCH | oklch(46.74% 0.121 260.2) |
| XYZ | xyz(10.7456, 10.0170, 33.2589) |
| Luminance | 0.1002 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 2.16
Dusk Blue
#26538D
ΔE00 2.78
Light Navy Blue
#2E5A88
ΔE00 3.41
Sapphire
#0F52BA
ΔE00 4.13
Dusky Blue
#475F94
ΔE00 4.23
Denim
#1560BD
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F589D #9D742F
analogous
#2F8F9D #2F589D #3D2F9D
triadic
#2F589D #9D2F58 #589D2F
tetradic
#2F589D #9D2F8F #9D742F #2F9D3D
square
#2F589D #9D2F8F #9D742F #2F9D3D
split-complementary
#2F589D #9D3D2F #8F9D2F
monochromatic
#13233F #213E6E #2F589D #4374C7 #7297D5
Accessibility & contrast
On white
6.99
#2F589D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.00
#2F589D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F589D
6.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F589D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F589D | 1.00 | 6.99 | 3.00 | 6.99 |
| #FFFFFF | 6.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#375FA0
Deuteranopia (green-blind)
#24549C
Tritanopia (blue-blind)
#006873
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #2f589d; /* rgb */ color: rgb(47, 88, 157); /* oklch */ color: oklch(46.7% 0.121 260.2);
Tailwind
colors: {
custom: {
50: '#7586ba',
500: '#2f589d',
950: '#000000',
},
}SCSS
$custom: #2f589d; $custom-light: #7586ba; $custom-dark: #000000;
JSON
{
"hex": "#2f589d",
"rgb": {
"r": 47,
"g": 88,
"b": 157
},
"hsl": {
"h": 217.636,
"s": 53.922,
"l": 40
},
"oklch": {
"l": 0.46738,
"c": 0.12125,
"h": 260.2
},
"luminance": 0.10018
}Semantic roles & 50–950 ramp
primary
#2F589D
secondary
#BC9E6B
accent
#A74BDD
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090B12
muted
#7B7C81