#45798F#45798F
#45798F is a mid, moderate cyan. Relative luminance 0.169; OKLCH L 54.9% C 0.065 H 227.3°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #45798F |
|---|---|
| RGB | rgb(69, 121, 143) |
| HSL | hsl(198, 35%, 42%) |
| HSV | hsv(198, 52%, 56%) |
| CMYK | cmyk(51.7%, 15.4%, 0%, 43.9%) |
| CIE-LAB | lab(48.16, -10.95, -17.31) |
| CIE-LCH | lch(48.16, 20.48, 237.67°) |
| OKLab | oklab(54.87% -0.0443 -0.048) |
| OKLCH | oklch(54.87% 0.065 227.3) |
| XYZ | xyz(14.2477, 16.9220, 28.4967) |
| Luminance | 0.1692 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 3.69
Sea Blue
#047495
ΔE00 5.19
Metallic Blue
#4F738E
ΔE00 5.23
Ocean
#017B92
ΔE00 5.68
Stormy Blue
#507B9C
ΔE00 5.76
Cerulean
#007BA7
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#45798F #8F5B45
analogous
#458F80 #45798F #45548F
triadic
#45798F #8F4579 #798F45
tetradic
#45798F #80458F #8F5B45 #548F45
square
#45798F #80458F #8F5B45 #548F45
split-complementary
#45798F #8F4554 #8F8045
monochromatic
#1D333C #315666 #45798F #5F99B2 #89B4C6
Accessibility & contrast
On white
4.79
#45798F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.38
#45798F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #45798F
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##45798F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##45798F | 1.00 | 4.79 | 4.38 | 4.79 |
| #FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D7790
Deuteranopia (green-blind)
#636F8F
Tritanopia (blue-blind)
#1B7F80
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #45798f; /* rgb */ color: rgb(69, 121, 143); /* oklch */ color: oklch(54.9% 0.065 227.3);
Tailwind
colors: {
custom: {
50: '#7e9faf',
500: '#45798f',
950: '#000000',
},
}SCSS
$custom: #45798f; $custom-light: #7e9faf; $custom-dark: #000000;
JSON
{
"hex": "#45798f",
"rgb": {
"r": 69,
"g": 121,
"b": 143
},
"hsl": {
"h": 197.838,
"s": 34.906,
"l": 41.569
},
"oklch": {
"l": 0.54867,
"c": 0.06532,
"h": 227.3
},
"luminance": 0.16923
}Semantic roles & 50–950 ramp
primary
#45798F
secondary
#B18E7F
accent
#7E5DCB
background
#F7F9FA
surface
#EEF2F4
border
#C9CCCE
text
#0A0E10
muted
#7C7E7F