#125058#125058

#125058 is a dark, moderate teal. Relative luminance 0.066; OKLCH L 39.7% C 0.061 H 207.8°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#125058
RGBrgb(18, 80, 88)
HSLhsl(187, 66%, 21%)
HSVhsv(187, 80%, 35%)
CMYKcmyk(79.5%, 9.1%, 0%, 65.5%)
CIE-LABlab(30.81, -15.93, -10.25)
CIE-LCHlch(30.81, 18.95, 212.76°)
OKLaboklab(39.73% -0.0541 -0.0285)
OKLCHoklch(39.73% 0.061 207.8)
XYZxyz(4.8788, 6.5699, 10.2416)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125058 #581A12
analogous
#12583D #125058 #122D58
triadic
#125058 #581250 #505812
tetradic
#125058 #3D1258 #581A12 #2D5812
square
#125058 #3D1258 #581A12 #2D5812
split-complementary
#125058 #58122D #583D12
monochromatic
#051719 #082225 #125058 #1C7E8B #27ACBE

Accessibility & contrast

On white

9.07
#125058 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#125058 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125058
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125058#FFFFFF#000000##FFFFFF
##1250581.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484D59
Deuteranopia (green-blind)
#3F4558
Tritanopia (blue-blind)
#005452
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #125058;
/* rgb */ color: rgb(18, 80, 88);
/* oklch */ color: oklch(39.7% 0.061 207.8);
Tailwind
colors: {
  custom: {
    50: '#5d8187',
    500: '#125058',
    950: '#000000',
  },
}
SCSS
$custom: #125058;
$custom-light: #5d8187;
$custom-dark: #000000;
JSON
{
  "hex": "#125058",
  "rgb": {
    "r": 18,
    "g": 80,
    "b": 88
  },
  "hsl": {
    "h": 186.857,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.39734,
    "c": 0.0612,
    "h": 207.8
  },
  "luminance": 0.06571
}

Semantic roles & 50–950 ramp

primary
#125058
secondary
#914035
accent
#523FE9
background
#F5F7F8
surface
#E9EEEF
border
#C5C9CA
text
#050A0B
muted
#797C7C

Preview Lab

Preview with #125058

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

Preview Lab → · Contrast checker → · Palette generator →

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