#2A798B#2A798B
#2A798B is a mid, moderate cyan. Relative luminance 0.160; OKLCH L 53.6% C 0.080 H 215.9°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #2A798B |
|---|---|
| RGB | rgb(42, 121, 139) |
| HSL | hsl(191, 54%, 35%) |
| HSV | hsv(191, 70%, 55%) |
| CMYK | cmyk(69.8%, 12.9%, 0%, 45.5%) |
| CIE-LAB | lab(47.01, -17.68, -16.79) |
| CIE-LCH | lch(47.01, 24.38, 223.52°) |
| OKLab | oklab(53.62% -0.0646 -0.0467) |
| OKLCH | oklch(53.62% 0.08 215.9) |
| XYZ | xyz(12.4505, 16.0297, 26.8590) |
| Luminance | 0.1603 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Ocean
#017B92
ΔE00 2.09
Sea Blue
#047495
ΔE00 5.50
Teal Blue
#01889F
ΔE00 5.72
Deep Aqua
#08787F
ΔE00 5.96
Dirty Blue
#3F829D
ΔE00 5.97
Cerulean
#007BA7
ΔE00 8.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A798B #8B3C2A
analogous
#2A8B6C #2A798B #2A488B
triadic
#2A798B #8B2A79 #798B2A
tetradic
#2A798B #6C2A8B #8B3C2A #488B2A
square
#2A798B #6C2A8B #8B3C2A #488B2A
split-complementary
#2A798B #8B2A48 #8B6C2A
monochromatic
#0E272D #1C505C #2A798B #38A2BA #60BBCF
Accessibility & contrast
On white
4.99
#2A798B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.21
#2A798B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A798B
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A798B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A798B | 1.00 | 4.99 | 4.21 | 4.99 |
| #FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D758C
Deuteranopia (green-blind)
#5F6B8B
Tritanopia (blue-blind)
#00807F
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #2a798b; /* rgb */ color: rgb(42, 121, 139); /* oklch */ color: oklch(53.6% 0.080 215.9);
Tailwind
colors: {
custom: {
50: '#71a0ad',
500: '#2a798b',
950: '#000000',
},
}SCSS
$custom: #2a798b; $custom-light: #71a0ad; $custom-dark: #000000;
JSON
{
"hex": "#2a798b",
"rgb": {
"r": 42,
"g": 121,
"b": 139
},
"hsl": {
"h": 191.134,
"s": 53.591,
"l": 35.49
},
"oklch": {
"l": 0.53621,
"c": 0.07977,
"h": 215.9
},
"luminance": 0.16031
}Semantic roles & 50–950 ramp
primary
#2A798B
secondary
#B56C5C
accent
#664BDD
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F