#2C5EB2#2C5EB2
#2C5EB2 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.4% C 0.144 H 260.2°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #2C5EB2 |
|---|---|
| RGB | rgb(44, 94, 178) |
| HSL | hsl(218, 60%, 44%) |
| HSV | hsv(218, 75%, 70%) |
| CMYK | cmyk(75.3%, 47.2%, 0%, 30.2%) |
| CIE-LAB | lab(40.82, 13.18, -49.55) |
| CIE-LCH | lch(40.82, 51.27, 284.90°) |
| OKLab | oklab(49.4% -0.0247 -0.1422) |
| OKLCH | oklch(49.4% 0.144 260.2) |
| XYZ | xyz(13.0744, 11.7538, 43.6905) |
| Luminance | 0.1176 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.00
Sapphire
#0F52BA
ΔE00 4.11
Denim Blue
#3B5B92
ΔE00 4.25
French Blue
#436BAD
ΔE00 4.60
Mid Blue
#276AB3
ΔE00 4.84
Denim (survey)
#3B638C
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C5EB2 #B2802C
analogous
#2CA1B2 #2C5EB2 #3D2CB2
triadic
#2C5EB2 #B22C5E #5EB22C
tetradic
#2C5EB2 #B22CA1 #B2802C #2CB23D
square
#2C5EB2 #B22CA1 #B2802C #2CB23D
split-complementary
#2C5EB2 #B23D2C #A1B22C
monochromatic
#142A50 #204481 #2C5EB2 #497CD2 #7AA0DE
Accessibility & contrast
On white
6.27
#2C5EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#2C5EB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C5EB2
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C5EB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C5EB2 | 1.00 | 6.27 | 3.35 | 6.27 |
| #FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3167B5
Deuteranopia (green-blind)
#0D5BB0
Tritanopia (blue-blind)
#00727F
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #2c5eb2; /* rgb */ color: rgb(44, 94, 178); /* oklch */ color: oklch(49.4% 0.144 260.2);
Tailwind
colors: {
custom: {
50: '#788bc9',
500: '#2c5eb2',
950: '#000000',
},
}SCSS
$custom: #2c5eb2; $custom-light: #788bc9; $custom-dark: #000000;
JSON
{
"hex": "#2c5eb2",
"rgb": {
"r": 44,
"g": 94,
"b": 178
},
"hsl": {
"h": 217.612,
"s": 60.36,
"l": 43.529
},
"oklch": {
"l": 0.49404,
"c": 0.14428,
"h": 260.2
},
"luminance": 0.11755
}Semantic roles & 50–950 ramp
primary
#2C5EB2
secondary
#C6A773
accent
#A844E4
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82