#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
RGBrgb(69, 121, 143)
HSLhsl(198, 35%, 42%)
HSVhsv(198, 52%, 56%)
CMYKcmyk(51.7%, 15.4%, 0%, 43.9%)
CIE-LABlab(48.16, -10.95, -17.31)
CIE-LCHlch(48.16, 20.48, 237.67°)
OKLaboklab(54.87% -0.0443 -0.048)
OKLCHoklch(54.87% 0.065 227.3)
XYZxyz(14.2477, 16.9220, 28.4967)
Luminance0.1692 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

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
##45798F1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.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

Preview Lab

Preview with #45798F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#45798F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva