#2C5EB6#2C5EB6
#2C5EB6 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 49.7% C 0.150 H 260.8°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #2C5EB6 |
|---|---|
| RGB | rgb(44, 94, 182) |
| HSL | hsl(218, 61%, 44%) |
| HSV | hsv(218, 76%, 71%) |
| CMYK | cmyk(75.8%, 48.4%, 0%, 28.6%) |
| CIE-LAB | lab(41.08, 14.71, -51.47) |
| CIE-LCH | lch(41.08, 53.53, 285.95°) |
| OKLab | oklab(49.69% -0.024 -0.1478) |
| OKLCH | oklch(49.69% 0.15 260.8) |
| XYZ | xyz(13.4819, 11.9168, 45.8365) |
| Luminance | 0.1192 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.99
Sapphire
#0F52BA
ΔE00 4.00
French Blue
#436BAD
ΔE00 4.63
Denim Blue
#3B5B92
ΔE00 4.65
Mid Blue
#276AB3
ΔE00 4.98
Denim (survey)
#3B638C
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C5EB6 #B6842C
analogous
#2CA3B6 #2C5EB6 #3F2CB6
triadic
#2C5EB6 #B62C5E #5EB62C
tetradic
#2C5EB6 #B62CA3 #B6842C #2CB63F
square
#2C5EB6 #B62CA3 #B6842C #2CB63F
split-complementary
#2C5EB6 #B63F2C #A3B62C
monochromatic
#142B53 #204585 #2C5EB6 #4C7DD4 #7DA1E0
Accessibility & contrast
On white
6.21
#2C5EB6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#2C5EB6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C5EB6
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C5EB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C5EB6 | 1.00 | 6.21 | 3.38 | 6.21 |
| #FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D68B9
Deuteranopia (green-blind)
#005BB4
Tritanopia (blue-blind)
#007381
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #2c5eb6; /* rgb */ color: rgb(44, 94, 182); /* oklch */ color: oklch(49.7% 0.150 260.8);
Tailwind
colors: {
custom: {
50: '#798bcc',
500: '#2c5eb6',
950: '#000000',
},
}SCSS
$custom: #2c5eb6; $custom-light: #798bcc; $custom-dark: #000000;
JSON
{
"hex": "#2c5eb6",
"rgb": {
"r": 44,
"g": 94,
"b": 182
},
"hsl": {
"h": 218.261,
"s": 61.062,
"l": 44.314
},
"oklch": {
"l": 0.49689,
"c": 0.14977,
"h": 260.8
},
"luminance": 0.11918
}Semantic roles & 50–950 ramp
primary
#2C5EB6
secondary
#C8AA76
accent
#AA44E4
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0B13
muted
#7C7C82