#125157#125157

#125157 is a dark, moderate teal. Relative luminance 0.067; OKLCH L 40.0% C 0.061 H 204.5°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#125157
RGBrgb(18, 81, 87)
HSLhsl(185, 66%, 21%)
HSVhsv(185, 79%, 34%)
CMYKcmyk(79.3%, 6.9%, 0%, 65.9%)
CIE-LABlab(31.12, -16.85, -9.15)
CIE-LCHlch(31.12, 19.18, 208.50°)
OKLaboklab(39.97% -0.0558 -0.0254)
OKLCHoklch(39.97% 0.061 204.5)
XYZxyz(4.9114, 6.7010, 10.0495)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125157 #571812
analogous
#12573A #125157 #122E57
triadic
#125157 #571251 #515712
tetradic
#125157 #3A1257 #571812 #2E5712
square
#125157 #3A1257 #571812 #2E5712
split-complementary
#125157 #57122E #573A12
monochromatic
#051819 #082224 #125157 #1C808A #27AFBC

Accessibility & contrast

On white

8.97
#125157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#125157 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125157
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125157#FFFFFF#000000##FFFFFF
##1251571.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4D57
Deuteranopia (green-blind)
#404657
Tritanopia (blue-blind)
#005553
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #125157;
/* rgb */ color: rgb(18, 81, 87);
/* oklch */ color: oklch(40.0% 0.061 204.5);
Tailwind
colors: {
  custom: {
    50: '#5d8286',
    500: '#125157',
    950: '#000000',
  },
}
SCSS
$custom: #125157;
$custom-light: #5d8286;
$custom-dark: #000000;
JSON
{
  "hex": "#125157",
  "rgb": {
    "r": 18,
    "g": 81,
    "b": 87
  },
  "hsl": {
    "h": 185.217,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.39971,
    "c": 0.06129,
    "h": 204.5
  },
  "luminance": 0.06702
}

Semantic roles & 50–950 ramp

primary
#125157
secondary
#903D35
accent
#4E3FE9
background
#F5F7F8
surface
#E9EEEF
border
#C5C9CA
text
#050A0B
muted
#797C7C

Preview Lab

Preview with #125157

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

Preview Lab → · Contrast checker → · Palette generator →

#125157 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva