#2C5DAB#2C5DAB
#2C5DAB is a mid, vivid blue. Relative luminance 0.113; OKLCH L 48.7% C 0.136 H 259.4°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).
Color values
| HEX | #2C5DAB |
|---|---|
| RGB | rgb(44, 93, 171) |
| HSL | hsl(217, 59%, 42%) |
| HSV | hsv(217, 74%, 67%) |
| CMYK | cmyk(74.3%, 45.6%, 0%, 32.9%) |
| CIE-LAB | lab(40.09, 11.16, -46.60) |
| CIE-LCH | lch(40.09, 47.92, 283.47°) |
| OKLab | oklab(48.69% -0.025 -0.1335) |
| OKLCH | oklch(48.69% 0.136 259.4) |
| XYZ | xyz(12.3011, 11.3031, 40.0536) |
| Luminance | 0.1130 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.51
Denim Blue
#3B5B92
ΔE00 3.53
Sapphire
#0F52BA
ΔE00 4.13
Light Navy Blue
#2E5A88
ΔE00 4.41
Denim (survey)
#3B638C
ΔE00 4.43
Dusk Blue
#26538D
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C5DAB #AB7A2C
analogous
#2C9DAB #2C5DAB #3A2CAB
triadic
#2C5DAB #AB2C5D #5DAB2C
tetradic
#2C5DAB #AB2C9D #AB7A2C #2CAB3A
square
#2C5DAB #AB2C9D #AB7A2C #2CAB3A
split-complementary
#2C5DAB #AB3A2C #9DAB2C
monochromatic
#13284A #1F437A #2C5DAB #457ACF #769DDC
Accessibility & contrast
On white
6.44
#2C5DAB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#2C5DAB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C5DAB
6.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C5DAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C5DAB | 1.00 | 6.44 | 3.26 | 6.44 |
| #FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3565AE
Deuteranopia (green-blind)
#1A59A9
Tritanopia (blue-blind)
#006F7B
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #2c5dab; /* rgb */ color: rgb(44, 93, 171); /* oklch */ color: oklch(48.7% 0.136 259.4);
Tailwind
colors: {
custom: {
50: '#768ac4',
500: '#2c5dab',
950: '#000000',
},
}SCSS
$custom: #2c5dab; $custom-light: #768ac4; $custom-dark: #000000;
JSON
{
"hex": "#2c5dab",
"rgb": {
"r": 44,
"g": 93,
"b": 171
},
"hsl": {
"h": 216.85,
"s": 59.07,
"l": 42.157
},
"oklch": {
"l": 0.48694,
"c": 0.13584,
"h": 259.4
},
"luminance": 0.11304
}Semantic roles & 50–950 ramp
primary
#2C5DAB
secondary
#C3A36F
accent
#A646E2
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82