#125862#125862

#125862 is a dark, moderate teal. Relative luminance 0.080; OKLCH L 42.4% C 0.067 H 209.4°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#125862
RGBrgb(18, 88, 98)
HSLhsl(188, 69%, 23%)
HSVhsv(188, 82%, 38%)
CMYKcmyk(81.6%, 10.2%, 0%, 61.6%)
CIE-LABlab(33.96, -16.89, -11.79)
CIE-LCHlch(33.96, 20.60, 214.91°)
OKLaboklab(42.41% -0.0583 -0.0328)
OKLCHoklch(42.41% 0.067 209.4)
XYZxyz(5.9428, 7.9892, 12.7818)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125862 #621C12
analogous
#126244 #125862 #123062
triadic
#125862 #621258 #586212
tetradic
#125862 #441262 #621C12 #306212
square
#125862 #441262 #621C12 #306212
split-complementary
#125862 #621230 #624412
monochromatic
#05171A #092A2E #125862 #1B8696 #25B5C9

Accessibility & contrast

On white

8.08
#125862 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#125862 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125862
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125862#FFFFFF#000000##FFFFFF
##1258621.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5463
Deuteranopia (green-blind)
#444C62
Tritanopia (blue-blind)
#005D5B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #125862;
/* rgb */ color: rgb(18, 88, 98);
/* oklch */ color: oklch(42.4% 0.067 209.4);
Tailwind
colors: {
  custom: {
    50: '#5f878e',
    500: '#125862',
    950: '#000000',
  },
}
SCSS
$custom: #125862;
$custom-light: #5f878e;
$custom-dark: #000000;
JSON
{
  "hex": "#125862",
  "rgb": {
    "r": 18,
    "g": 88,
    "b": 98
  },
  "hsl": {
    "h": 187.5,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.42411,
    "c": 0.06695,
    "h": 209.4
  },
  "luminance": 0.0799
}

Semantic roles & 50–950 ramp

primary
#125862
secondary
#9A4236
accent
#523CEC
background
#F6F8F8
surface
#EBEFF0
border
#C6CACB
text
#050B0C
muted
#7A7C7D

Preview Lab

Preview with #125862

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

Preview Lab → · Contrast checker → · Palette generator →

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