#2D57C2#2D57C2
#2D57C2 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.2% C 0.174 H 264.6°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #2D57C2 |
|---|---|
| RGB | rgb(45, 87, 194) |
| HSL | hsl(223, 62%, 47%) |
| HSV | hsv(223, 77%, 76%) |
| CMYK | cmyk(76.8%, 55.2%, 0%, 23.9%) |
| CIE-LAB | lab(40.03, 23.96, -60.18) |
| CIE-LCH | lch(40.03, 64.78, 291.71°) |
| OKLab | oklab(49.16% -0.0165 -0.1736) |
| OKLCH | oklch(49.16% 0.174 264.6) |
| XYZ | xyz(14.2245, 11.2677, 52.4537) |
| Luminance | 0.1127 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.74
Denim
#1560BD
ΔE00 4.74
Azul
#1D5DEC
ΔE00 5.44
Warm Blue
#4B57DB
ΔE00 5.64
Cobalt
#0047AB
ΔE00 6.07
Denim Blue
#3B5B92
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D57C2 #C2982D
analogous
#2DA2C2 #2D57C2 #4D2DC2
triadic
#2D57C2 #C22D57 #57C22D
tetradic
#2D57C2 #C22DA2 #C2982D #2DC24D
square
#2D57C2 #C22DA2 #C2982D #2DC24D
split-complementary
#2D57C2 #C24D2D #A2C22D
monochromatic
#162A5F #214190 #2D57C2 #557AD7 #86A0E3
Accessibility & contrast
On white
6.45
#2D57C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#2D57C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2D57C2
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D57C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D57C2 | 1.00 | 6.45 | 3.25 | 6.45 |
| #FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#0058C0
Tritanopia (blue-blind)
#007184
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #2d57c2; /* rgb */ color: rgb(45, 87, 194); /* oklch */ color: oklch(49.2% 0.174 264.6);
Tailwind
colors: {
custom: {
50: '#7c85d5',
500: '#2d57c2',
950: '#000000',
},
}SCSS
$custom: #2d57c2; $custom-light: #7c85d5; $custom-dark: #000000;
JSON
{
"hex": "#2d57c2",
"rgb": {
"r": 45,
"g": 87,
"b": 194
},
"hsl": {
"h": 223.087,
"s": 62.343,
"l": 46.863
},
"oklch": {
"l": 0.49163,
"c": 0.17436,
"h": 264.6
},
"luminance": 0.11269
}Semantic roles & 50–950 ramp
primary
#2D57C2
secondary
#CDB67E
accent
#B742E5
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83