#2B57AC#2B57AC
#2B57AC is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.4% C 0.145 H 261.9°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).
Color values
| HEX | #2B57AC |
|---|---|
| RGB | rgb(43, 87, 172) |
| HSL | hsl(220, 60%, 42%) |
| HSV | hsv(220, 75%, 67%) |
| CMYK | cmyk(75%, 49.4%, 0%, 32.5%) |
| CIE-LAB | lab(38.39, 15.34, -49.93) |
| CIE-LCH | lch(38.39, 52.23, 287.08°) |
| OKLab | oklab(47.4% -0.0204 -0.1434) |
| OKLCH | oklch(47.4% 0.145 261.9) |
| XYZ | xyz(11.8482, 10.3072, 40.3868) |
| Luminance | 0.1031 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.49
Denim Blue
#3B5B92
ΔE00 3.74
Denim
#1560BD
ΔE00 4.13
Dusk Blue
#26538D
ΔE00 4.28
Light Navy Blue
#2E5A88
ΔE00 4.90
Cobalt
#0047AB
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B57AC #AC802B
analogous
#2B98AC #2B57AC #402BAC
triadic
#2B57AC #AC2B57 #57AC2B
tetradic
#2B57AC #AC2B98 #AC802B #2BAC40
square
#2B57AC #AC2B98 #AC802B #2BAC40
split-complementary
#2B57AC #AC402B #98AC2B
monochromatic
#13254A #1F3E7B #2B57AC #4474D0 #7598DC
Accessibility & contrast
On white
6.86
#2B57AC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#2B57AC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B57AC
6.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B57AC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B57AC | 1.00 | 6.86 | 3.06 | 6.86 |
| #FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2661AF
Deuteranopia (green-blind)
#0055AA
Tritanopia (blue-blind)
#006B79
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2b57ac; /* rgb */ color: rgb(43, 87, 172); /* oklch */ color: oklch(47.4% 0.145 261.9);
Tailwind
colors: {
custom: {
50: '#7685c5',
500: '#2b57ac',
950: '#000000',
},
}SCSS
$custom: #2b57ac; $custom-light: #7685c5; $custom-dark: #000000;
JSON
{
"hex": "#2b57ac",
"rgb": {
"r": 43,
"g": 87,
"b": 172
},
"hsl": {
"h": 219.535,
"s": 60,
"l": 42.157
},
"oklch": {
"l": 0.474,
"c": 0.14487,
"h": 261.9
},
"luminance": 0.10309
}Semantic roles & 50–950 ramp
primary
#2B57AC
secondary
#C4A76F
accent
#AD45E3
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82