#2A5F8F#2A5F8F
#2A5F8F is a mid, moderate cyan. Relative luminance 0.107; OKLCH L 47.3% C 0.096 H 248.6°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5F8F |
|---|---|
| RGB | rgb(42, 95, 143) |
| HSL | hsl(209, 55%, 36%) |
| HSV | hsv(209, 71%, 56%) |
| CMYK | cmyk(70.6%, 33.6%, 0%, 43.9%) |
| CIE-LAB | lab(39.00, -1.00, -31.61) |
| CIE-LCH | lch(39.00, 31.63, 268.19°) |
| OKLab | oklab(47.3% -0.0351 -0.0896) |
| OKLCH | oklch(47.3% 0.096 248.6) |
| XYZ | xyz(10.0031, 10.6588, 27.5114) |
| Luminance | 0.1066 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Light Navy Blue
#2E5A88
ΔE00 2.14
Denim (survey)
#3B638C
ΔE00 2.41
Ugly Blue
#31668A
ΔE00 3.86
Denim Blue
#3B5B92
ΔE00 4.50
Dusk Blue
#26538D
ΔE00 4.59
Deep Sea Blue
#015482
ΔE00 4.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5F8F #8F5A2A
analogous
#2A8F8D #2A5F8F #2A2C8F
triadic
#2A5F8F #8F2A5F #5F8F2A
tetradic
#2A5F8F #8D2A8F #8F5A2A #2C8F2A
square
#2A5F8F #8D2A8F #8F5A2A #2C8F2A
split-complementary
#2A5F8F #8F2A2C #8F8D2A
monochromatic
#0E2030 #1C4060 #2A5F8F #387EBE #629CD1
Accessibility & contrast
On white
6.70
#2A5F8F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#2A5F8F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A5F8F
6.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5F8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5F8F | 1.00 | 6.70 | 3.13 | 6.70 |
| #FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A6191
Deuteranopia (green-blind)
#3B588E
Tritanopia (blue-blind)
#006A70
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2a5f8f; /* rgb */ color: rgb(42, 95, 143); /* oklch */ color: oklch(47.3% 0.096 248.6);
Tailwind
colors: {
custom: {
50: '#708cb0',
500: '#2a5f8f',
950: '#000000',
},
}SCSS
$custom: #2a5f8f; $custom-light: #708cb0; $custom-dark: #000000;
JSON
{
"hex": "#2a5f8f",
"rgb": {
"r": 42,
"g": 95,
"b": 143
},
"hsl": {
"h": 208.515,
"s": 54.595,
"l": 36.275
},
"oklch": {
"l": 0.47303,
"c": 0.09622,
"h": 248.6
},
"luminance": 0.1066
}Semantic roles & 50–950 ramp
primary
#2A5F8F
secondary
#B7885E
accent
#904ADE
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F