#2C5EB7#2C5EB7
#2C5EB7 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 49.8% C 0.151 H 260.9°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #2C5EB7 |
|---|---|
| RGB | rgb(44, 94, 183) |
| HSL | hsl(218, 61%, 45%) |
| HSV | hsv(218, 76%, 72%) |
| CMYK | cmyk(76%, 48.6%, 0%, 28.2%) |
| CIE-LAB | lab(41.15, 15.09, -51.95) |
| CIE-LCH | lch(41.15, 54.10, 286.20°) |
| OKLab | oklab(49.76% -0.0239 -0.1492) |
| OKLCH | oklch(49.76% 0.151 260.9) |
| XYZ | xyz(13.5856, 11.9582, 46.3827) |
| Luminance | 0.1196 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.01
Sapphire
#0F52BA
ΔE00 3.99
French Blue
#436BAD
ΔE00 4.65
Denim Blue
#3B5B92
ΔE00 4.75
Mid Blue
#276AB3
ΔE00 5.02
Denim (survey)
#3B638C
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C5EB7 #B7852C
analogous
#2CA4B7 #2C5EB7 #402CB7
triadic
#2C5EB7 #B72C5E #5EB72C
tetradic
#2C5EB7 #B72CA4 #B7852C #2CB740
square
#2C5EB7 #B72CA4 #B7852C #2CB740
split-complementary
#2C5EB7 #B7402C #A4B72C
monochromatic
#142B54 #204586 #2C5EB7 #4C7DD4 #7EA1E0
Accessibility & contrast
On white
6.19
#2C5EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#2C5EB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C5EB7
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C5EB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C5EB7 | 1.00 | 6.19 | 3.39 | 6.19 |
| #FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B68BA
Deuteranopia (green-blind)
#005BB5
Tritanopia (blue-blind)
#007382
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #2c5eb7; /* rgb */ color: rgb(44, 94, 183); /* oklch */ color: oklch(49.8% 0.151 260.9);
Tailwind
colors: {
custom: {
50: '#798bcd',
500: '#2c5eb7',
950: '#000000',
},
}SCSS
$custom: #2c5eb7; $custom-light: #798bcd; $custom-dark: #000000;
JSON
{
"hex": "#2c5eb7",
"rgb": {
"r": 44,
"g": 94,
"b": 183
},
"hsl": {
"h": 218.417,
"s": 61.233,
"l": 44.51
},
"oklch": {
"l": 0.49761,
"c": 0.15114,
"h": 260.9
},
"luminance": 0.1196
}Semantic roles & 50–950 ramp
primary
#2C5EB7
secondary
#C8AB76
accent
#AA43E4
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0B13
muted
#7C7C82