#125771#125771

#125771 is a dark, moderate cyan. Relative luminance 0.081; OKLCH L 42.9% C 0.077 H 228.9°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#125771
RGBrgb(18, 87, 113)
HSLhsl(196, 73%, 26%)
HSVhsv(196, 84%, 44%)
CMYKcmyk(84.1%, 23%, 0%, 55.7%)
CIE-LABlab(34.27, -10.76, -20.69)
CIE-LCHlch(34.27, 23.32, 242.52°)
OKLaboklab(42.87% -0.0508 -0.0582)
OKLCHoklch(42.87% 0.077 228.9)
XYZxyz(6.6371, 8.1364, 16.8403)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125771 #712C12
analogous
#12715B #125771 #122771
triadic
#125771 #711257 #577112
tetradic
#125771 #5B1271 #712C12 #277112
square
#125771 #5B1271 #712C12 #277112
split-complementary
#125771 #711227 #715B12
monochromatic
#04141A #0A2E3C #125771 #1A80A6 #23A8DB

Accessibility & contrast

On white

7.99
#125771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125771
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125771#FFFFFF#000000##FFFFFF
##1257711.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #125771;
/* rgb */ color: rgb(18, 87, 113);
/* oklch */ color: oklch(42.9% 0.077 228.9);
Tailwind
colors: {
  custom: {
    50: '#62869a',
    500: '#125771',
    950: '#000000',
  },
}
SCSS
$custom: #125771;
$custom-light: #62869a;
$custom-dark: #000000;
JSON
{
  "hex": "#125771",
  "rgb": {
    "r": 18,
    "g": 87,
    "b": 113
  },
  "hsl": {
    "h": 196.421,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.42869,
    "c": 0.07723,
    "h": 228.9
  },
  "luminance": 0.08137
}

Semantic roles & 50–950 ramp

primary
#125771
secondary
#A85637
accent
#6B39EF
background
#F6F8F9
surface
#EBEFF2
border
#C6CACC
text
#060B0E
muted
#7A7C7E

Preview Lab

Preview with #125771

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

Preview Lab → · Contrast checker → · Palette generator →

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