#2C5EBF#2C5EBF
#2C5EBF is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.3% C 0.162 H 261.9°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #2C5EBF |
|---|---|
| RGB | rgb(44, 94, 191) |
| HSL | hsl(220, 63%, 46%) |
| HSV | hsv(220, 77%, 75%) |
| CMYK | cmyk(77%, 50.8%, 0%, 25.1%) |
| CIE-LAB | lab(41.69, 18.14, -55.75) |
| CIE-LCH | lch(41.69, 58.63, 288.03°) |
| OKLab | oklab(50.35% -0.0228 -0.1604) |
| OKLCH | oklch(50.35% 0.162 261.9) |
| XYZ | xyz(14.4420, 12.3008, 50.8933) |
| Luminance | 0.1230 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.41
Sapphire
#0F52BA
ΔE00 4.04
French Blue
#436BAD
ΔE00 4.88
Mid Blue
#276AB3
ΔE00 5.43
Azul
#1D5DEC
ΔE00 5.58
Denim Blue
#3B5B92
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C5EBF #BF8D2C
analogous
#2CA7BF #2C5EBF #432CBF
triadic
#2C5EBF #BF2C5E #5EBF2C
tetradic
#2C5EBF #BF2CA7 #BF8D2C #2CBF43
square
#2C5EBF #BF2CA7 #BF8D2C #2CBF43
split-complementary
#2C5EBF #BF432C #A7BF2C
monochromatic
#152D5C #21468D #2C5EBF #517FD7 #83A3E2
Accessibility & contrast
On white
6.07
#2C5EBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#2C5EBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C5EBF
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C5EBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C5EBF | 1.00 | 6.07 | 3.46 | 6.07 |
| #FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2169C3
Deuteranopia (green-blind)
#005CBD
Tritanopia (blue-blind)
#007585
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #2c5ebf; /* rgb */ color: rgb(44, 94, 191); /* oklch */ color: oklch(50.3% 0.162 261.9);
Tailwind
colors: {
custom: {
50: '#7b8bd3',
500: '#2c5ebf',
950: '#000000',
},
}SCSS
$custom: #2c5ebf; $custom-light: #7b8bd3; $custom-dark: #000000;
JSON
{
"hex": "#2c5ebf",
"rgb": {
"r": 44,
"g": 94,
"b": 191
},
"hsl": {
"h": 219.592,
"s": 62.553,
"l": 46.078
},
"oklch": {
"l": 0.50347,
"c": 0.16202,
"h": 261.9
},
"luminance": 0.12302
}Semantic roles & 50–950 ramp
primary
#2C5EBF
secondary
#CCB07B
accent
#AE42E6
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83