#2A5B8F#2A5B8F
#2A5B8F is a mid, moderate cyan. Relative luminance 0.100; OKLCH L 46.3% C 0.100 H 252.0°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5B8F |
|---|---|
| RGB | rgb(42, 91, 143) |
| HSL | hsl(211, 55%, 36%) |
| HSV | hsv(211, 71%, 56%) |
| CMYK | cmyk(70.6%, 36.4%, 0%, 43.9%) |
| CIE-LAB | lab(37.76, 1.53, -33.56) |
| CIE-LCH | lch(37.76, 33.60, 272.61°) |
| OKLab | oklab(46.33% -0.031 -0.0953) |
| OKLCH | oklch(46.33% 0.1 252) |
| XYZ | xyz(9.6520, 9.9566, 27.3944) |
| Luminance | 0.0996 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Light Navy Blue
#2E5A88
ΔE00 1.01
Dusk Blue
#26538D
ΔE00 2.89
Denim (survey)
#3B638C
ΔE00 3.24
Denim Blue
#3B5B92
ΔE00 3.31
Light Navy
#155084
ΔE00 3.91
Deep Sea Blue
#015482
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5B8F #8F5E2A
analogous
#2A8E8F #2A5B8F #2C2A8F
triadic
#2A5B8F #8F2A5B #5B8F2A
tetradic
#2A5B8F #8F2A8E #8F5E2A #2A8F2C
square
#2A5B8F #8F2A8E #8F5E2A #2A8F2C
split-complementary
#2A5B8F #8F2C2A #8E8F2A
monochromatic
#0E1F30 #1C3D60 #2A5B8F #3879BE #6298D1
Accessibility & contrast
On white
7.02
#2A5B8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#2A5B8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A5B8F
7.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5B8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5B8F | 1.00 | 7.02 | 2.99 | 7.02 |
| #FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#445E91
Deuteranopia (green-blind)
#35558E
Tritanopia (blue-blind)
#00676E
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #2a5b8f; /* rgb */ color: rgb(42, 91, 143); /* oklch */ color: oklch(46.3% 0.100 252.0);
Tailwind
colors: {
custom: {
50: '#7089b0',
500: '#2a5b8f',
950: '#000000',
},
}SCSS
$custom: #2a5b8f; $custom-light: #7089b0; $custom-dark: #000000;
JSON
{
"hex": "#2a5b8f",
"rgb": {
"r": 42,
"g": 91,
"b": 143
},
"hsl": {
"h": 210.891,
"s": 54.595,
"l": 36.275
},
"oklch": {
"l": 0.46334,
"c": 0.10022,
"h": 252
},
"luminance": 0.09958
}Semantic roles & 50–950 ramp
primary
#2A5B8F
secondary
#B78C5E
accent
#964ADE
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#080B10
muted
#7B7C7F