#2A5B9E#2A5B9E
#2A5B9E is a mid, vivid cyan. Relative luminance 0.104; OKLCH L 47.3% C 0.121 H 257.0°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5B9E |
|---|---|
| RGB | rgb(42, 91, 158) |
| HSL | hsl(215, 58%, 39%) |
| HSV | hsv(215, 73%, 62%) |
| CMYK | cmyk(73.4%, 42.4%, 0%, 38%) |
| CIE-LAB | lab(38.62, 7.21, -41.22) |
| CIE-LCH | lch(38.62, 41.85, 279.93°) |
| OKLab | oklab(47.28% -0.0272 -0.1178) |
| OKLCH | oklch(47.28% 0.121 257) |
| XYZ | xyz(10.8652, 10.4418, 33.7840) |
| Luminance | 0.1044 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Denim Blue
#3B5B92
ΔE00 2.73
Light Navy Blue
#2E5A88
ΔE00 2.85
Dusk Blue
#26538D
ΔE00 3.21
Denim
#1560BD
ΔE00 3.79
Denim (survey)
#3B638C
ΔE00 3.95
Sapphire
#0F52BA
ΔE00 4.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5B9E #9E6D2A
analogous
#2A959E #2A5B9E #332A9E
triadic
#2A5B9E #9E2A5B #5B9E2A
tetradic
#2A5B9E #9E2A95 #9E6D2A #2A9E33
square
#2A5B9E #9E2A95 #9E6D2A #2A9E33
split-complementary
#2A5B9E #9E332A #959E2A
monochromatic
#10233D #1D3F6E #2A5B9E #3A77CB #6B99D8
Accessibility & contrast
On white
6.80
#2A5B9E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#2A5B9E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A5B9E
6.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5B9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5B9E | 1.00 | 6.80 | 3.09 | 6.80 |
| #FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B61A1
Deuteranopia (green-blind)
#27569D
Tritanopia (blue-blind)
#006B75
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2a5b9e; /* rgb */ color: rgb(42, 91, 158); /* oklch */ color: oklch(47.3% 0.121 257.0);
Tailwind
colors: {
custom: {
50: '#7388bb',
500: '#2a5b9e',
950: '#000000',
},
}SCSS
$custom: #2a5b9e; $custom-light: #7388bb; $custom-dark: #000000;
JSON
{
"hex": "#2a5b9e",
"rgb": {
"r": 42,
"g": 91,
"b": 158
},
"hsl": {
"h": 214.655,
"s": 58,
"l": 39.216
},
"oklch": {
"l": 0.47284,
"c": 0.12086,
"h": 257
},
"luminance": 0.10443
}Semantic roles & 50–950 ramp
primary
#2A5B9E
secondary
#BE9966
accent
#A047E1
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B12
muted
#7B7C81