#2C5ABF#2C5ABF
#2C5ABF is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.5% C 0.167 H 263.2°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #2C5ABF |
|---|---|
| RGB | rgb(44, 90, 191) |
| HSL | hsl(221, 63%, 46%) |
| HSV | hsv(221, 77%, 75%) |
| CMYK | cmyk(77%, 52.9%, 0%, 25.1%) |
| CIE-LAB | lab(40.59, 20.75, -57.53) |
| CIE-LCH | lch(40.59, 61.16, 289.83°) |
| OKLab | oklab(49.51% -0.0197 -0.1657) |
| OKLCH | oklch(49.51% 0.167 263.2) |
| XYZ | xyz(14.0955, 11.6078, 50.7778) |
| Luminance | 0.1161 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.96
Denim
#1560BD
ΔE00 3.55
Azul
#1D5DEC
ΔE00 5.60
Denim Blue
#3B5B92
ΔE00 5.63
French Blue
#436BAD
ΔE00 6.12
Dusky Blue
#475F94
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C5ABF #BF912C
analogous
#2CA3BF #2C5ABF #472CBF
triadic
#2C5ABF #BF2C5A #5ABF2C
tetradic
#2C5ABF #BF2CA3 #BF912C #2CBF47
square
#2C5ABF #BF2CA3 #BF912C #2CBF47
split-complementary
#2C5ABF #BF472C #A3BF2C
monochromatic
#152B5C #21438D #2C5ABF #517BD7 #83A1E2
Accessibility & contrast
On white
6.32
#2C5ABF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#2C5ABF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C5ABF
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C5ABF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C5ABF | 1.00 | 6.32 | 3.32 | 6.32 |
| #FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F67C3
Deuteranopia (green-blind)
#0059BD
Tritanopia (blue-blind)
#007384
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #2c5abf; /* rgb */ color: rgb(44, 90, 191); /* oklch */ color: oklch(49.5% 0.167 263.2);
Tailwind
colors: {
custom: {
50: '#7b88d3',
500: '#2c5abf',
950: '#000000',
},
}SCSS
$custom: #2c5abf; $custom-light: #7b88d3; $custom-dark: #000000;
JSON
{
"hex": "#2c5abf",
"rgb": {
"r": 44,
"g": 90,
"b": 191
},
"hsl": {
"h": 221.224,
"s": 62.553,
"l": 46.078
},
"oklch": {
"l": 0.49506,
"c": 0.16691,
"h": 263.2
},
"luminance": 0.11609
}Semantic roles & 50–950 ramp
primary
#2C5ABF
secondary
#CCB27B
accent
#B242E6
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83