#2F59AB#2F59AB
#2F59AB is a mid, vivid blue. Relative luminance 0.107; OKLCH L 47.9% C 0.140 H 262.1°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).
Color values
| HEX | #2F59AB |
|---|---|
| RGB | rgb(47, 89, 171) |
| HSL | hsl(220, 57%, 43%) |
| HSV | hsv(220, 73%, 67%) |
| CMYK | cmyk(72.5%, 48%, 0%, 32.9%) |
| CIE-LAB | lab(39.05, 14.19, -48.26) |
| CIE-LCH | lch(39.05, 50.30, 286.39°) |
| OKLab | oklab(47.93% -0.0192 -0.1384) |
| OKLCH | oklch(47.93% 0.14 262.1) |
| XYZ | xyz(12.0927, 10.6881, 39.9459) |
| Luminance | 0.1069 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.08
Denim Blue
#3B5B92
ΔE00 3.38
Denim
#1560BD
ΔE00 3.82
Dusk Blue
#26538D
ΔE00 4.45
Dusky Blue
#475F94
ΔE00 4.74
Light Navy Blue
#2E5A88
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F59AB #AB812F
analogous
#2F97AB #2F59AB #432FAB
triadic
#2F59AB #AB2F59 #59AB2F
tetradic
#2F59AB #AB2F97 #AB812F #2FAB43
square
#2F59AB #AB2F97 #AB812F #2FAB43
split-complementary
#2F59AB #AB432F #97AB2F
monochromatic
#15274B #22407B #2F59AB #4A76CD #7A9BDA
Accessibility & contrast
On white
6.69
#2F59AB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#2F59AB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F59AB
6.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F59AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F59AB | 1.00 | 6.69 | 3.14 | 6.69 |
| #FFFFFF | 6.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D62AE
Deuteranopia (green-blind)
#0C57A9
Tritanopia (blue-blind)
#006C7A
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2f59ab; /* rgb */ color: rgb(47, 89, 171); /* oklch */ color: oklch(47.9% 0.140 262.1);
Tailwind
colors: {
custom: {
50: '#7887c4',
500: '#2f59ab',
950: '#000000',
},
}SCSS
$custom: #2f59ab; $custom-light: #7887c4; $custom-dark: #000000;
JSON
{
"hex": "#2f59ab",
"rgb": {
"r": 47,
"g": 89,
"b": 171
},
"hsl": {
"h": 219.677,
"s": 56.881,
"l": 42.745
},
"oklch": {
"l": 0.47929,
"c": 0.13974,
"h": 262.1
},
"luminance": 0.10689
}Semantic roles & 50–950 ramp
primary
#2F59AB
secondary
#C3A873
accent
#AC48E0
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82