#2A5C97#2A5C97
#2A5C97 is a mid, moderate cyan. Relative luminance 0.104; OKLCH L 47.1% C 0.110 H 254.3°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5C97 |
|---|---|
| RGB | rgb(42, 92, 151) |
| HSL | hsl(212, 56%, 38%) |
| HSV | hsv(212, 72%, 59%) |
| CMYK | cmyk(72.2%, 39.1%, 0%, 40.8%) |
| CIE-LAB | lab(38.52, 3.91, -37.20) |
| CIE-LCH | lch(38.52, 37.40, 275.99°) |
| OKLab | oklab(47.07% -0.0298 -0.1059) |
| OKLCH | oklch(47.07% 0.11 254.3) |
| XYZ | xyz(10.3658, 10.3798, 30.7294) |
| Luminance | 0.1038 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Light Navy Blue
#2E5A88
ΔE00 2.00
Denim Blue
#3B5B92
ΔE00 2.97
Dusk Blue
#26538D
ΔE00 3.18
Denim (survey)
#3B638C
ΔE00 3.31
Denim
#1560BD
ΔE00 4.29
Light Navy
#155084
ΔE00 4.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5C97 #97652A
analogous
#2A9297 #2A5C97 #2E2A97
triadic
#2A5C97 #972A5C #5C972A
tetradic
#2A5C97 #972A92 #97652A #2A972E
square
#2A5C97 #972A92 #97652A #2A972E
split-complementary
#2A5C97 #972E2A #92972A
monochromatic
#0F2237 #1D3F67 #2A5C97 #3779C7 #6799D5
Accessibility & contrast
On white
6.83
#2A5C97 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#2A5C97 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A5C97
6.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5C97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5C97 | 1.00 | 6.83 | 3.08 | 6.83 |
| #FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#416099
Deuteranopia (green-blind)
#305696
Tritanopia (blue-blind)
#006A72
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2a5c97; /* rgb */ color: rgb(42, 92, 151); /* oklch */ color: oklch(47.1% 0.110 254.3);
Tailwind
colors: {
custom: {
50: '#7189b6',
500: '#2a5c97',
950: '#000000',
},
}SCSS
$custom: #2a5c97; $custom-light: #7189b6; $custom-dark: #000000;
JSON
{
"hex": "#2a5c97",
"rgb": {
"r": 42,
"g": 92,
"b": 151
},
"hsl": {
"h": 212.477,
"s": 56.477,
"l": 37.843
},
"oklch": {
"l": 0.47066,
"c": 0.11007,
"h": 254.3
},
"luminance": 0.10381
}Semantic roles & 50–950 ramp
primary
#2A5C97
secondary
#BB9262
accent
#9A48E0
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80