#125872#125872

#125872 is a dark, moderate cyan. Relative luminance 0.083; OKLCH L 43.2% C 0.078 H 228.6°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#125872
RGBrgb(18, 88, 114)
HSLhsl(196, 73%, 26%)
HSVhsv(196, 84%, 45%)
CMYKcmyk(84.2%, 22.8%, 0%, 55.3%)
CIE-LABlab(34.64, -10.98, -20.72)
CIE-LCHlch(34.64, 23.45, 242.08°)
OKLaboklab(43.19% -0.0514 -0.0583)
OKLCHoklch(43.19% 0.078 228.6)
XYZxyz(6.7752, 8.3221, 17.1656)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125872 #722C12
analogous
#12725C #125872 #122872
triadic
#125872 #721258 #587212
tetradic
#125872 #5C1272 #722C12 #287212
square
#125872 #5C1272 #722C12 #287212
split-complementary
#125872 #721228 #725C12
monochromatic
#04141A #0A2F3D #125872 #1A81A7 #23AADC

Accessibility & contrast

On white

7.88
#125872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#125872 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125872
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125872#FFFFFF#000000##FFFFFF
##1258721.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5673
Deuteranopia (green-blind)
#3E4E72
Tritanopia (blue-blind)
#005F61
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #125872;
/* rgb */ color: rgb(18, 88, 114);
/* oklch */ color: oklch(43.2% 0.078 228.6);
Tailwind
colors: {
  custom: {
    50: '#62879a',
    500: '#125872',
    950: '#000000',
  },
}
SCSS
$custom: #125872;
$custom-light: #62879a;
$custom-dark: #000000;
JSON
{
  "hex": "#125872",
  "rgb": {
    "r": 18,
    "g": 88,
    "b": 114
  },
  "hsl": {
    "h": 196.25,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.43188,
    "c": 0.07771,
    "h": 228.6
  },
  "luminance": 0.08323
}

Semantic roles & 50–950 ramp

primary
#125872
secondary
#A95637
accent
#6A38EF
background
#F6F8F9
surface
#EBEFF2
border
#C6CACC
text
#060B0E
muted
#7A7C7E

Preview Lab

Preview with #125872

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

Preview Lab → · Contrast checker → · Palette generator →

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