#2F57B9#2F57B9
#2F57B9 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.5% C 0.162 H 264.4°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #2F57B9 |
|---|---|
| RGB | rgb(47, 87, 185) |
| HSL | hsl(223, 59%, 45%) |
| HSV | hsv(223, 75%, 73%) |
| CMYK | cmyk(74.6%, 53%, 0%, 27.5%) |
| CIE-LAB | lab(39.45, 20.80, -55.86) |
| CIE-LCH | lch(39.45, 59.61, 290.42°) |
| OKLab | oklab(48.54% -0.0157 -0.1608) |
| OKLCH | oklch(48.54% 0.162 264.4) |
| XYZ | xyz(13.3343, 10.9220, 47.2949) |
| Luminance | 0.1092 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.36
Denim
#1560BD
ΔE00 4.50
Denim Blue
#3B5B92
ΔE00 5.22
Cobalt
#0047AB
ΔE00 5.58
Dusky Blue
#475F94
ΔE00 6.09
Dusk Blue
#26538D
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F57B9 #B9912F
analogous
#2F9CB9 #2F57B9 #4C2FB9
triadic
#2F57B9 #B92F57 #57B92F
tetradic
#2F57B9 #B92F9C #B9912F #2FB94C
square
#2F57B9 #B92F9C #B9912F #2FB94C
split-complementary
#2F57B9 #B94C2F #9CB92F
monochromatic
#162957 #234088 #2F57B9 #5277D3 #839EDF
Accessibility & contrast
On white
6.59
#2F57B9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#2F57B9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F57B9
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F57B9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F57B9 | 1.00 | 6.59 | 3.18 | 6.59 |
| #FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1064BC
Deuteranopia (green-blind)
#0057B7
Tritanopia (blue-blind)
#006F7F
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #2f57b9; /* rgb */ color: rgb(47, 87, 185); /* oklch */ color: oklch(48.5% 0.162 264.4);
Tailwind
colors: {
custom: {
50: '#7b85cf',
500: '#2f57b9',
950: '#000000',
},
}SCSS
$custom: #2f57b9; $custom-light: #7b85cf; $custom-dark: #000000;
JSON
{
"hex": "#2f57b9",
"rgb": {
"r": 47,
"g": 87,
"b": 185
},
"hsl": {
"h": 222.609,
"s": 59.483,
"l": 45.49
},
"oklch": {
"l": 0.48539,
"c": 0.1616,
"h": 264.4
},
"luminance": 0.10924
}Semantic roles & 50–950 ramp
primary
#2F57B9
secondary
#C9B27B
accent
#B545E3
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82