#2C5EBB#2C5EBB
#2C5EBB is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.1% C 0.157 H 261.4°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #2C5EBB |
|---|---|
| RGB | rgb(44, 94, 187) |
| HSL | hsl(219, 62%, 45%) |
| HSV | hsv(219, 76%, 73%) |
| CMYK | cmyk(76.5%, 49.7%, 0%, 26.7%) |
| CIE-LAB | lab(41.42, 16.62, -53.86) |
| CIE-LCH | lch(41.42, 56.36, 287.15°) |
| OKLab | oklab(50.05% -0.0233 -0.1548) |
| OKLCH | oklch(50.05% 0.157 261.4) |
| XYZ | xyz(14.0078, 12.1271, 48.6066) |
| Luminance | 0.1213 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.16
Sapphire
#0F52BA
ΔE00 3.97
French Blue
#436BAD
ΔE00 4.74
Denim Blue
#3B5B92
ΔE00 5.17
Mid Blue
#276AB3
ΔE00 5.21
Denim (survey)
#3B638C
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C5EBB #BB892C
analogous
#2CA5BB #2C5EBB #412CBB
triadic
#2C5EBB #BB2C5E #5EBB2C
tetradic
#2C5EBB #BB2CA5 #BB892C #2CBB41
square
#2C5EBB #BB2CA5 #BB892C #2CBB41
split-complementary
#2C5EBB #BB412C #A5BB2C
monochromatic
#152C58 #204589 #2C5EBB #4F7ED6 #80A2E1
Accessibility & contrast
On white
6.13
#2C5EBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#2C5EBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C5EBB
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C5EBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C5EBB | 1.00 | 6.13 | 3.43 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2769BE
Deuteranopia (green-blind)
#005CB9
Tritanopia (blue-blind)
#007483
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #2c5ebb; /* rgb */ color: rgb(44, 94, 187); /* oklch */ color: oklch(50.1% 0.157 261.4);
Tailwind
colors: {
custom: {
50: '#7a8bd0',
500: '#2c5ebb',
950: '#000000',
},
}SCSS
$custom: #2c5ebb; $custom-light: #7a8bd0; $custom-dark: #000000;
JSON
{
"hex": "#2c5ebb",
"rgb": {
"r": 44,
"g": 94,
"b": 187
},
"hsl": {
"h": 219.021,
"s": 61.905,
"l": 45.294
},
"oklch": {
"l": 0.50051,
"c": 0.1566,
"h": 261.4
},
"luminance": 0.12129
}Semantic roles & 50–950 ramp
primary
#2C5EBB
secondary
#CAAE79
accent
#AC43E5
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B14
muted
#7C7C82