#125772#125772

#125772 is a dark, moderate cyan. Relative luminance 0.082; OKLCH L 42.9% C 0.078 H 229.9°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#125772
RGBrgb(18, 87, 114)
HSLhsl(197, 73%, 26%)
HSVhsv(197, 84%, 45%)
CMYKcmyk(84.2%, 23.7%, 0%, 55.3%)
CIE-LABlab(34.31, -10.38, -21.24)
CIE-LCHlch(34.31, 23.64, 243.95°)
OKLaboklab(42.92% -0.0503 -0.0598)
OKLCHoklch(42.92% 0.078 229.9)
XYZxyz(6.6937, 8.1591, 17.1384)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125772 #722D12
analogous
#12725D #125772 #122772
triadic
#125772 #721257 #577212
tetradic
#125772 #5D1272 #722D12 #277212
square
#125772 #5D1272 #722D12 #277212
split-complementary
#125772 #721227 #725D12
monochromatic
#04141A #0A2F3D #125772 #1A7FA7 #23A8DC

Accessibility & contrast

On white

7.98
#125772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#125772 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125772
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125772#FFFFFF#000000##FFFFFF
##1257721.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495673
Deuteranopia (green-blind)
#3C4D72
Tritanopia (blue-blind)
#005E60
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #125772;
/* rgb */ color: rgb(18, 87, 114);
/* oklch */ color: oklch(42.9% 0.078 229.9);
Tailwind
colors: {
  custom: {
    50: '#62869a',
    500: '#125772',
    950: '#000000',
  },
}
SCSS
$custom: #125772;
$custom-light: #62869a;
$custom-dark: #000000;
JSON
{
  "hex": "#125772",
  "rgb": {
    "r": 18,
    "g": 87,
    "b": 114
  },
  "hsl": {
    "h": 196.875,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.42922,
    "c": 0.07817,
    "h": 229.9
  },
  "luminance": 0.0816
}

Semantic roles & 50–950 ramp

primary
#125772
secondary
#A95737
accent
#6C38EF
background
#F6F8F9
surface
#EBEFF2
border
#C6CACC
text
#060B0E
muted
#7A7C7E

Preview Lab

Preview with #125772

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

Preview Lab → · Contrast checker → · Palette generator →

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