#2A5F8E#2A5F8E
#2A5F8E is a mid, moderate cyan. Relative luminance 0.106; OKLCH L 47.2% C 0.095 H 248.1°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5F8E |
|---|---|
| RGB | rgb(42, 95, 142) |
| HSL | hsl(208, 54%, 36%) |
| HSV | hsv(208, 70%, 56%) |
| CMYK | cmyk(70.4%, 33.1%, 0%, 44.3%) |
| CIE-LAB | lab(38.95, -1.37, -31.09) |
| CIE-LCH | lch(38.95, 31.12, 267.47°) |
| OKLab | oklab(47.25% -0.0354 -0.088) |
| OKLCH | oklch(47.25% 0.095 248.1) |
| XYZ | xyz(9.9277, 10.6286, 27.1143) |
| Luminance | 0.1063 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Light Navy Blue
#2E5A88
ΔE00 2.18
Denim (survey)
#3B638C
ΔE00 2.42
Ugly Blue
#31668A
ΔE00 3.72
Deep Sea Blue
#015482
ΔE00 4.58
Denim Blue
#3B5B92
ΔE00 4.62
Dusk Blue
#26538D
ΔE00 4.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5F8E #8E592A
analogous
#2A8E8B #2A5F8E #2A2D8E
triadic
#2A5F8E #8E2A5F #5F8E2A
tetradic
#2A5F8E #8B2A8E #8E592A #2D8E2A
square
#2A5F8E #8B2A8E #8E592A #2D8E2A
split-complementary
#2A5F8E #8E2A2D #8E8B2A
monochromatic
#0E2030 #1C3F5F #2A5F8E #387FBD #629DD1
Accessibility & contrast
On white
6.72
#2A5F8E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#2A5F8E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A5F8E
6.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5F8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5F8E | 1.00 | 6.72 | 3.13 | 6.72 |
| #FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A6190
Deuteranopia (green-blind)
#3C578D
Tritanopia (blue-blind)
#006A70
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2a5f8e; /* rgb */ color: rgb(42, 95, 142); /* oklch */ color: oklch(47.2% 0.095 248.1);
Tailwind
colors: {
custom: {
50: '#708caf',
500: '#2a5f8e',
950: '#000000',
},
}SCSS
$custom: #2a5f8e; $custom-light: #708caf; $custom-dark: #000000;
JSON
{
"hex": "#2a5f8e",
"rgb": {
"r": 42,
"g": 95,
"b": 142
},
"hsl": {
"h": 208.2,
"s": 54.348,
"l": 36.078
},
"oklch": {
"l": 0.47245,
"c": 0.09492,
"h": 248.1
},
"luminance": 0.1063
}Semantic roles & 50–950 ramp
primary
#2A5F8E
secondary
#B6875D
accent
#8F4ADE
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F