#2A5E8F#2A5E8F
#2A5E8F is a mid, moderate cyan. Relative luminance 0.105; OKLCH L 47.1% C 0.097 H 249.5°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5E8F |
|---|---|
| RGB | rgb(42, 94, 143) |
| HSL | hsl(209, 55%, 36%) |
| HSV | hsv(209, 71%, 56%) |
| CMYK | cmyk(70.6%, 34.3%, 0%, 43.9%) |
| CIE-LAB | lab(38.69, -0.37, -32.10) |
| CIE-LCH | lch(38.69, 32.10, 269.34°) |
| OKLab | oklab(47.06% -0.0341 -0.091) |
| OKLCH | oklch(47.06% 0.097 249.5) |
| XYZ | xyz(9.9136, 10.4798, 27.4816) |
| Luminance | 0.1048 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Light Navy Blue
#2E5A88
ΔE00 1.77
Denim (survey)
#3B638C
ΔE00 2.54
Dusk Blue
#26538D
ΔE00 4.15
Denim Blue
#3B5B92
ΔE00 4.16
Ugly Blue
#31668A
ΔE00 4.27
Deep Sea Blue
#015482
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5E8F #8F5B2A
analogous
#2A8F8E #2A5E8F #2A2C8F
triadic
#2A5E8F #8F2A5E #5E8F2A
tetradic
#2A5E8F #8E2A8F #8F5B2A #2C8F2A
square
#2A5E8F #8E2A8F #8F5B2A #2C8F2A
split-complementary
#2A5E8F #8F2A2C #8F8E2A
monochromatic
#0E2030 #1C3F60 #2A5E8F #387DBE #629BD1
Accessibility & contrast
On white
6.78
#2A5E8F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#2A5E8F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A5E8F
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5E8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5E8F | 1.00 | 6.78 | 3.10 | 6.78 |
| #FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#486091
Deuteranopia (green-blind)
#3A578E
Tritanopia (blue-blind)
#006A70
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2a5e8f; /* rgb */ color: rgb(42, 94, 143); /* oklch */ color: oklch(47.1% 0.097 249.5);
Tailwind
colors: {
custom: {
50: '#708bb0',
500: '#2a5e8f',
950: '#000000',
},
}SCSS
$custom: #2a5e8f; $custom-light: #708bb0; $custom-dark: #000000;
JSON
{
"hex": "#2a5e8f",
"rgb": {
"r": 42,
"g": 94,
"b": 143
},
"hsl": {
"h": 209.109,
"s": 54.595,
"l": 36.275
},
"oklch": {
"l": 0.4706,
"c": 0.09719,
"h": 249.5
},
"luminance": 0.10481
}Semantic roles & 50–950 ramp
primary
#2A5E8F
secondary
#B7895E
accent
#924ADE
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080B10
muted
#7B7C7F