#2B56AC#2B56AC
#2B56AC is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.2% C 0.146 H 262.3°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2B56AC |
|---|---|
| RGB | rgb(43, 86, 172) |
| HSL | hsl(220, 60%, 42%) |
| HSV | hsv(220, 75%, 67%) |
| CMYK | cmyk(75%, 50%, 0%, 32.5%) |
| CIE-LAB | lab(38.10, 16.00, -50.39) |
| CIE-LCH | lch(38.10, 52.86, 287.62°) |
| OKLab | oklab(47.18% -0.0195 -0.1448) |
| OKLCH | oklch(47.18% 0.146 262.3) |
| XYZ | xyz(11.7678, 10.1464, 40.3600) |
| Luminance | 0.1015 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.32
Denim Blue
#3B5B92
ΔE00 3.88
Dusk Blue
#26538D
ΔE00 4.30
Denim
#1560BD
ΔE00 4.46
Cobalt
#0047AB
ΔE00 4.88
Light Navy Blue
#2E5A88
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B56AC #AC812B
analogous
#2B97AC #2B56AC #412BAC
triadic
#2B56AC #AC2B56 #56AC2B
tetradic
#2B56AC #AC2B97 #AC812B #2BAC41
square
#2B56AC #AC2B97 #AC812B #2BAC41
split-complementary
#2B56AC #AC412B #97AC2B
monochromatic
#13254A #1F3E7B #2B56AC #4473D0 #7597DC
Accessibility & contrast
On white
6.93
#2B56AC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#2B56AC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B56AC
6.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B56AC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B56AC | 1.00 | 6.93 | 3.03 | 6.93 |
| #FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2360AF
Deuteranopia (green-blind)
#0054AA
Tritanopia (blue-blind)
#006B79
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2b56ac; /* rgb */ color: rgb(43, 86, 172); /* oklch */ color: oklch(47.2% 0.146 262.3);
Tailwind
colors: {
custom: {
50: '#7685c5',
500: '#2b56ac',
950: '#000000',
},
}SCSS
$custom: #2b56ac; $custom-light: #7685c5; $custom-dark: #000000;
JSON
{
"hex": "#2b56ac",
"rgb": {
"r": 43,
"g": 86,
"b": 172
},
"hsl": {
"h": 220,
"s": 60,
"l": 42.157
},
"oklch": {
"l": 0.47182,
"c": 0.1461,
"h": 262.3
},
"luminance": 0.10148
}Semantic roles & 50–950 ramp
primary
#2B56AC
secondary
#C4A86F
accent
#AE45E3
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82