#155F7F#155F7F

#155F7F is a mid, moderate cyan. Relative luminance 0.099; OKLCH L 45.8% C 0.086 H 232.5°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#155F7F
RGBrgb(21, 95, 127)
HSLhsl(198, 72%, 29%)
HSVhsv(198, 83%, 50%)
CMYKcmyk(83.5%, 25.2%, 0%, 50.2%)
CIE-LABlab(37.62, -9.90, -24.10)
CIE-LCHlch(37.62, 26.06, 247.67°)
OKLaboklab(45.78% -0.0522 -0.068)
OKLCHoklch(45.78% 0.086 232.5)
XYZxyz(8.2307, 9.8751, 21.5469)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155F7F #7F3515
analogous
#157F6A #155F7F #152A7F
triadic
#155F7F #7F155F #5F7F15
tetradic
#155F7F #6A157F #7F3515 #2A7F15
square
#155F7F #6A157F #7F3515 #2A7F15
split-complementary
#155F7F #7F152A #7F6A15
monochromatic
#04141A #0C384A #155F7F #1E86B4 #31A9DD

Accessibility & contrast

On white

7.06
#155F7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#155F7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155F7F
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155F7F#FFFFFF#000000##FFFFFF
##155F7F1.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5E81
Deuteranopia (green-blind)
#41547F
Tritanopia (blue-blind)
#00686A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #155f7f;
/* rgb */ color: rgb(21, 95, 127);
/* oklch */ color: oklch(45.8% 0.086 232.5);
Tailwind
colors: {
  custom: {
    50: '#668ca4',
    500: '#155f7f',
    950: '#000000',
  },
}
SCSS
$custom: #155f7f;
$custom-light: #668ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#155f7f",
  "rgb": {
    "r": 21,
    "g": 95,
    "b": 127
  },
  "hsl": {
    "h": 198.113,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.4578,
    "c": 0.08571,
    "h": 232.5
  },
  "luminance": 0.09876
}

Semantic roles & 50–950 ramp

primary
#155F7F
secondary
#B4603C
accent
#7039EE
background
#F6F8FA
surface
#EBF0F4
border
#C6CBCE
text
#070C0F
muted
#7A7D7F

Preview Lab

Preview with #155F7F

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

Preview Lab → · Contrast checker → · Palette generator →

#155F7F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva