#2F59BA#2F59BA
#2F59BA is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.0% C 0.160 H 263.8°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).
Color values
| HEX | #2F59BA |
|---|---|
| RGB | rgb(47, 89, 186) |
| HSL | hsl(222, 60%, 46%) |
| HSV | hsv(222, 75%, 73%) |
| CMYK | cmyk(74.7%, 52.2%, 0%, 27.1%) |
| CIE-LAB | lab(40.07, 19.87, -55.45) |
| CIE-LCH | lch(40.07, 58.90, 289.72°) |
| OKLab | oklab(49.03% -0.0172 -0.1596) |
| OKLCH | oklch(49.03% 0.16 263.8) |
| XYZ | xyz(13.6044, 11.2928, 47.9076) |
| Luminance | 0.1129 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.71
Denim
#1560BD
ΔE00 3.89
Denim Blue
#3B5B92
ΔE00 5.13
Dusky Blue
#475F94
ΔE00 5.94
Cobalt
#0047AB
ΔE00 6.15
Azul
#1D5DEC
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F59BA #BA902F
analogous
#2F9EBA #2F59BA #4B2FBA
triadic
#2F59BA #BA2F59 #59BA2F
tetradic
#2F59BA #BA2F9E #BA902F #2FBA4B
square
#2F59BA #BA2F9E #BA902F #2FBA4B
split-complementary
#2F59BA #BA4B2F #9EBA2F
monochromatic
#162A58 #234289 #2F59BA #537AD3 #849FE0
Accessibility & contrast
On white
6.44
#2F59BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#2F59BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F59BA
6.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F59BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F59BA | 1.00 | 6.44 | 3.26 | 6.44 |
| #FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1865BD
Deuteranopia (green-blind)
#0058B8
Tritanopia (blue-blind)
#007081
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #2f59ba; /* rgb */ color: rgb(47, 89, 186); /* oklch */ color: oklch(49.0% 0.160 263.8);
Tailwind
colors: {
custom: {
50: '#7b87cf',
500: '#2f59ba',
950: '#000000',
},
}SCSS
$custom: #2f59ba; $custom-light: #7b87cf; $custom-dark: #000000;
JSON
{
"hex": "#2f59ba",
"rgb": {
"r": 47,
"g": 89,
"b": 186
},
"hsl": {
"h": 221.871,
"s": 59.657,
"l": 45.686
},
"oklch": {
"l": 0.49033,
"c": 0.16049,
"h": 263.8
},
"luminance": 0.11294
}Semantic roles & 50–950 ramp
primary
#2F59BA
secondary
#C9B27C
accent
#B345E3
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82