#157A9F#157A9F

#157A9F is a mid, moderate cyan. Relative luminance 0.166; OKLCH L 54.3% C 0.102 H 229.4°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#157A9F
RGBrgb(21, 122, 159)
HSLhsl(196, 77%, 35%)
HSVhsv(196, 87%, 62%)
CMYKcmyk(86.8%, 23.3%, 0%, 37.6%)
CIE-LABlab(47.73, -13.65, -27.50)
CIE-LCHlch(47.73, 30.70, 243.60°)
OKLaboklab(54.34% -0.0663 -0.0775)
OKLCHoklch(54.34% 0.102 229.4)
XYZxyz(13.5242, 16.5800, 35.2816)
Luminance0.1658 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157A9F #9F3A15
analogous
#159F7F #157A9F #15359F
triadic
#157A9F #9F157A #7A9F15
tetradic
#157A9F #7F159F #9F3A15 #359F15
square
#157A9F #7F159F #9F3A15 #359F15
split-complementary
#157A9F #9F1535 #9F7F15
monochromatic
#072733 #0E5169 #157A9F #1CA3D5 #48BCE7

Accessibility & contrast

On white

4.87
#157A9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#157A9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157A9F
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157A9F#FFFFFF#000000##FFFFFF
##157A9F1.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6778A1
Deuteranopia (green-blind)
#556C9E
Tritanopia (blue-blind)
#008486
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #157a9f;
/* rgb */ color: rgb(21, 122, 159);
/* oklch */ color: oklch(54.3% 0.102 229.4);
Tailwind
colors: {
  custom: {
    50: '#6ea0bb',
    500: '#157a9f',
    950: '#000000',
  },
}
SCSS
$custom: #157a9f;
$custom-light: #6ea0bb;
$custom-dark: #000000;
JSON
{
  "hex": "#157a9f",
  "rgb": {
    "r": 21,
    "g": 122,
    "b": 159
  },
  "hsl": {
    "h": 196.087,
    "s": 76.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.54342,
    "c": 0.10201,
    "h": 229.4
  },
  "luminance": 0.16582
}

Semantic roles & 50–950 ramp

primary
#157A9F
secondary
#C86A48
accent
#6835F3
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #157A9F

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

Preview Lab → · Contrast checker → · Palette generator →

#157A9F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva