#2A5CAB#2A5CAB
#2A5CAB is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.4% C 0.138 H 259.3°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5CAB |
|---|---|
| RGB | rgb(42, 92, 171) |
| HSL | hsl(217, 61%, 42%) |
| HSV | hsv(217, 75%, 67%) |
| CMYK | cmyk(75.4%, 46.2%, 0%, 32.9%) |
| CIE-LAB | lab(39.72, 11.55, -47.19) |
| CIE-LCH | lch(39.72, 48.58, 283.75°) |
| OKLab | oklab(48.39% -0.0255 -0.1353) |
| OKLCH | oklch(48.39% 0.138 259.3) |
| XYZ | xyz(12.1300, 11.0854, 40.0206) |
| Luminance | 0.1109 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.63
Denim Blue
#3B5B92
ΔE00 3.54
Sapphire
#0F52BA
ΔE00 3.85
Light Navy Blue
#2E5A88
ΔE00 4.32
Dusk Blue
#26538D
ΔE00 4.55
Denim (survey)
#3B638C
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5CAB #AB792A
analogous
#2A9DAB #2A5CAB #392AAB
triadic
#2A5CAB #AB2A5C #5CAB2A
tetradic
#2A5CAB #AB2A9D #AB792A #2AAB39
square
#2A5CAB #AB2A9D #AB792A #2AAB39
split-complementary
#2A5CAB #AB392A #9DAB2A
monochromatic
#122749 #1E427A #2A5CAB #4279D1 #739CDD
Accessibility & contrast
On white
6.53
#2A5CAB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#2A5CAB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A5CAB
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5CAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5CAB | 1.00 | 6.53 | 3.22 | 6.53 |
| #FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3364AE
Deuteranopia (green-blind)
#1658A9
Tritanopia (blue-blind)
#006F7B
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #2a5cab; /* rgb */ color: rgb(42, 92, 171); /* oklch */ color: oklch(48.4% 0.138 259.3);
Tailwind
colors: {
custom: {
50: '#7689c4',
500: '#2a5cab',
950: '#000000',
},
}SCSS
$custom: #2a5cab; $custom-light: #7689c4; $custom-dark: #000000;
JSON
{
"hex": "#2a5cab",
"rgb": {
"r": 42,
"g": 92,
"b": 171
},
"hsl": {
"h": 216.744,
"s": 60.563,
"l": 41.765
},
"oklch": {
"l": 0.48394,
"c": 0.13768,
"h": 259.3
},
"luminance": 0.11087
}Semantic roles & 50–950 ramp
primary
#2A5CAB
secondary
#C4A26D
accent
#A644E4
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82