#2C5DB7#2C5DB7
#2C5DB7 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.5% C 0.152 H 261.3°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #2C5DB7 |
|---|---|
| RGB | rgb(44, 93, 183) |
| HSL | hsl(219, 61%, 45%) |
| HSV | hsv(219, 76%, 72%) |
| CMYK | cmyk(76%, 49.2%, 0%, 28.2%) |
| CIE-LAB | lab(40.87, 15.74, -52.41) |
| CIE-LCH | lch(40.87, 54.72, 286.72°) |
| OKLab | oklab(49.54% -0.0231 -0.1506) |
| OKLCH | oklch(49.54% 0.152 261.3) |
| XYZ | xyz(13.4972, 11.7815, 46.3533) |
| Luminance | 0.1178 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.28
Sapphire
#0F52BA
ΔE00 3.67
Denim Blue
#3B5B92
ΔE00 4.69
French Blue
#436BAD
ΔE00 4.95
Mid Blue
#276AB3
ΔE00 5.39
Denim (survey)
#3B638C
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C5DB7 #B7862C
analogous
#2CA3B7 #2C5DB7 #412CB7
triadic
#2C5DB7 #B72C5D #5DB72C
tetradic
#2C5DB7 #B72CA3 #B7862C #2CB741
square
#2C5DB7 #B72CA3 #B7862C #2CB741
split-complementary
#2C5DB7 #B7412C #A3B72C
monochromatic
#142B54 #204486 #2C5DB7 #4C7CD4 #7EA0E0
Accessibility & contrast
On white
6.26
#2C5DB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#2C5DB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C5DB7
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C5DB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C5DB7 | 1.00 | 6.26 | 3.36 | 6.26 |
| #FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2967BA
Deuteranopia (green-blind)
#005AB5
Tritanopia (blue-blind)
#007281
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #2c5db7; /* rgb */ color: rgb(44, 93, 183); /* oklch */ color: oklch(49.5% 0.152 261.3);
Tailwind
colors: {
custom: {
50: '#798acd',
500: '#2c5db7',
950: '#000000',
},
}SCSS
$custom: #2c5db7; $custom-light: #798acd; $custom-dark: #000000;
JSON
{
"hex": "#2c5db7",
"rgb": {
"r": 44,
"g": 93,
"b": 183
},
"hsl": {
"h": 218.849,
"s": 61.233,
"l": 44.51
},
"oklch": {
"l": 0.49544,
"c": 0.15236,
"h": 261.3
},
"luminance": 0.11783
}Semantic roles & 50–950 ramp
primary
#2C5DB7
secondary
#C8AB76
accent
#AC43E4
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0B13
muted
#7C7C82