#125871#125871

#125871 is a dark, moderate cyan. Relative luminance 0.083; OKLCH L 43.1% C 0.077 H 227.6°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#125871
RGBrgb(18, 88, 113)
HSLhsl(196, 73%, 26%)
HSVhsv(196, 84%, 44%)
CMYKcmyk(84.1%, 22.1%, 0%, 55.7%)
CIE-LABlab(34.60, -11.36, -20.17)
CIE-LCHlch(34.60, 23.15, 240.61°)
OKLaboklab(43.14% -0.0518 -0.0567)
OKLCHoklch(43.14% 0.077 227.6)
XYZxyz(6.7186, 8.2995, 16.8674)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125871 #712B12
analogous
#12715A #125871 #122971
triadic
#125871 #711258 #587112
tetradic
#125871 #5A1271 #712B12 #297112
square
#125871 #5A1271 #712B12 #297112
split-complementary
#125871 #711229 #715A12
monochromatic
#04151A #0A2F3C #125871 #1A81A6 #23AADB

Accessibility & contrast

On white

7.89
#125871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125871
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125871#FFFFFF#000000##FFFFFF
##1258711.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5672
Deuteranopia (green-blind)
#3E4D71
Tritanopia (blue-blind)
#005F60
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #125871;
/* rgb */ color: rgb(18, 88, 113);
/* oklch */ color: oklch(43.1% 0.077 227.6);
Tailwind
colors: {
  custom: {
    50: '#62879a',
    500: '#125871',
    950: '#000000',
  },
}
SCSS
$custom: #125871;
$custom-light: #62879a;
$custom-dark: #000000;
JSON
{
  "hex": "#125871",
  "rgb": {
    "r": 18,
    "g": 88,
    "b": 113
  },
  "hsl": {
    "h": 195.789,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.43136,
    "c": 0.0768,
    "h": 227.6
  },
  "luminance": 0.083
}

Semantic roles & 50–950 ramp

primary
#125871
secondary
#A85537
accent
#6939EF
background
#F6F8F9
surface
#EBEFF2
border
#C6CACC
text
#060B0E
muted
#7A7C7E

Preview Lab

Preview with #125871

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

Preview Lab → · Contrast checker → · Palette generator →

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