#2A5B97#2A5B97
#2A5B97 is a mid, moderate cyan. Relative luminance 0.102; OKLCH L 46.8% C 0.111 H 255.0°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5B97 |
|---|---|
| RGB | rgb(42, 91, 151) |
| HSL | hsl(213, 56%, 38%) |
| HSV | hsv(213, 72%, 59%) |
| CMYK | cmyk(72.2%, 39.7%, 0%, 40.8%) |
| CIE-LAB | lab(38.21, 4.55, -37.68) |
| CIE-LCH | lch(38.21, 37.95, 276.88°) |
| OKLab | oklab(46.83% -0.0288 -0.1074) |
| OKLCH | oklch(46.83% 0.111 255) |
| XYZ | xyz(10.2798, 10.2077, 30.7007) |
| Luminance | 0.1021 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Light Navy Blue
#2E5A88
ΔE00 2.00
Denim Blue
#3B5B92
ΔE00 2.78
Dusk Blue
#26538D
ΔE00 2.84
Denim (survey)
#3B638C
ΔE00 3.58
Denim
#1560BD
ΔE00 4.42
Light Navy
#155084
ΔE00 4.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5B97 #97662A
analogous
#2A9197 #2A5B97 #302A97
triadic
#2A5B97 #972A5B #5B972A
tetradic
#2A5B97 #972A91 #97662A #2A9730
square
#2A5B97 #972A91 #97662A #2A9730
split-complementary
#2A5B97 #97302A #91972A
monochromatic
#0F2137 #1D3E67 #2A5B97 #3778C7 #6798D5
Accessibility & contrast
On white
6.90
#2A5B97 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#2A5B97 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A5B97
6.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5B97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5B97 | 1.00 | 6.90 | 3.04 | 6.90 |
| #FFFFFF | 6.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F5F99
Deuteranopia (green-blind)
#2F5596
Tritanopia (blue-blind)
#006971
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2a5b97; /* rgb */ color: rgb(42, 91, 151); /* oklch */ color: oklch(46.8% 0.111 255.0);
Tailwind
colors: {
custom: {
50: '#7189b6',
500: '#2a5b97',
950: '#000000',
},
}SCSS
$custom: #2a5b97; $custom-light: #7189b6; $custom-dark: #000000;
JSON
{
"hex": "#2a5b97",
"rgb": {
"r": 42,
"g": 91,
"b": 151
},
"hsl": {
"h": 213.028,
"s": 56.477,
"l": 37.843
},
"oklch": {
"l": 0.4683,
"c": 0.11118,
"h": 255
},
"luminance": 0.10209
}Semantic roles & 50–950 ramp
primary
#2A5B97
secondary
#BB9362
accent
#9C48E0
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80