#2F58A7#2F58A7
#2F58A7 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.4% C 0.135 H 262.0°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).
Color values
| HEX | #2F58A7 |
|---|---|
| RGB | rgb(47, 88, 167) |
| HSL | hsl(220, 56%, 42%) |
| HSV | hsv(220, 72%, 65%) |
| CMYK | cmyk(71.9%, 47.3%, 0%, 34.5%) |
| CIE-LAB | lab(38.50, 13.33, -46.77) |
| CIE-LCH | lch(38.50, 48.63, 285.91°) |
| OKLab | oklab(47.43% -0.0189 -0.134) |
| OKLCH | oklch(47.43% 0.135 262) |
| XYZ | xyz(11.6346, 10.3726, 37.9407) |
| Luminance | 0.1037 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 3.04
Sapphire
#0F52BA
ΔE00 3.19
Dusk Blue
#26538D
ΔE00 3.93
Denim
#1560BD
ΔE00 4.25
Light Navy Blue
#2E5A88
ΔE00 4.48
Dusky Blue
#475F94
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F58A7 #A77E2F
analogous
#2F94A7 #2F58A7 #422FA7
triadic
#2F58A7 #A72F58 #58A72F
tetradic
#2F58A7 #A72F94 #A77E2F #2FA742
square
#2F58A7 #A72F94 #A77E2F #2FA742
split-complementary
#2F58A7 #A7422F #94A72F
monochromatic
#142647 #223F77 #2F58A7 #4875CB #7899D9
Accessibility & contrast
On white
6.83
#2F58A7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#2F58A7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F58A7
6.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F58A7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F58A7 | 1.00 | 6.83 | 3.07 | 6.83 |
| #FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F61AA
Deuteranopia (green-blind)
#1355A5
Tritanopia (blue-blind)
#006B77
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2f58a7; /* rgb */ color: rgb(47, 88, 167); /* oklch */ color: oklch(47.4% 0.135 262.0);
Tailwind
colors: {
custom: {
50: '#7786c2',
500: '#2f58a7',
950: '#000000',
},
}SCSS
$custom: #2f58a7; $custom-light: #7786c2; $custom-dark: #000000;
JSON
{
"hex": "#2f58a7",
"rgb": {
"r": 47,
"g": 88,
"b": 167
},
"hsl": {
"h": 219.5,
"s": 56.075,
"l": 41.961
},
"oklch": {
"l": 0.47426,
"c": 0.13537,
"h": 262
},
"luminance": 0.10374
}Semantic roles & 50–950 ramp
primary
#2F58A7
secondary
#C1A671
accent
#AC48DF
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B12
muted
#7C7C81