#2C5EB1#2C5EB1
#2C5EB1 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.3% C 0.143 H 260.0°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #2C5EB1 |
|---|---|
| RGB | rgb(44, 94, 177) |
| HSL | hsl(217, 60%, 43%) |
| HSV | hsv(217, 75%, 69%) |
| CMYK | cmyk(75.1%, 46.9%, 0%, 30.6%) |
| CIE-LAB | lab(40.76, 12.80, -49.06) |
| CIE-LCH | lch(40.76, 50.70, 284.62°) |
| OKLab | oklab(49.33% -0.0248 -0.1407) |
| OKLCH | oklch(49.33% 0.143 260) |
| XYZ | xyz(12.9743, 11.7138, 43.1636) |
| Luminance | 0.1172 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.02
Sapphire
#0F52BA
ΔE00 4.15
Denim Blue
#3B5B92
ΔE00 4.16
French Blue
#436BAD
ΔE00 4.60
Denim (survey)
#3B638C
ΔE00 4.76
Mid Blue
#276AB3
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C5EB1 #B17F2C
analogous
#2CA0B1 #2C5EB1 #3D2CB1
triadic
#2C5EB1 #B12C5E #5EB12C
tetradic
#2C5EB1 #B12CA0 #B17F2C #2CB13D
square
#2C5EB1 #B12CA0 #B17F2C #2CB13D
split-complementary
#2C5EB1 #B13D2C #A0B12C
monochromatic
#142A4F #204480 #2C5EB1 #497CD2 #7A9FDE
Accessibility & contrast
On white
6.28
#2C5EB1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#2C5EB1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C5EB1
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C5EB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C5EB1 | 1.00 | 6.28 | 3.34 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3267B4
Deuteranopia (green-blind)
#105AAF
Tritanopia (blue-blind)
#00727F
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #2c5eb1; /* rgb */ color: rgb(44, 94, 177); /* oklch */ color: oklch(49.3% 0.143 260.0);
Tailwind
colors: {
custom: {
50: '#788bc9',
500: '#2c5eb1',
950: '#000000',
},
}SCSS
$custom: #2c5eb1; $custom-light: #788bc9; $custom-dark: #000000;
JSON
{
"hex": "#2c5eb1",
"rgb": {
"r": 44,
"g": 94,
"b": 177
},
"hsl": {
"h": 217.444,
"s": 60.181,
"l": 43.333
},
"oklch": {
"l": 0.49334,
"c": 0.14292,
"h": 260
},
"luminance": 0.11715
}Semantic roles & 50–950 ramp
primary
#2C5EB1
secondary
#C6A773
accent
#A844E3
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82