#125171#125171

#125171 is a dark, moderate cyan. Relative luminance 0.072; OKLCH L 41.3% C 0.081 H 236.5°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#125171
RGBrgb(18, 81, 113)
HSLhsl(200, 73%, 26%)
HSVhsv(200, 84%, 44%)
CMYKcmyk(84.1%, 28.3%, 0%, 55.7%)
CIE-LABlab(32.27, -7.09, -23.80)
CIE-LCHlch(32.27, 24.84, 253.41°)
OKLaboklab(41.28% -0.0446 -0.0673)
OKLCHoklch(41.28% 0.081 236.5)
XYZxyz(6.1713, 7.2049, 16.6850)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125171 #713212
analogous
#127161 #125171 #122171
triadic
#125171 #711251 #517112
tetradic
#125171 #611271 #713212 #217112
square
#125171 #611271 #713212 #217112
split-complementary
#125171 #711221 #716112
monochromatic
#04131A #0A2B3C #125171 #1A77A6 #239DDB

Accessibility & contrast

On white

8.60
#125171 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#125171 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125171
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125171#FFFFFF#000000##FFFFFF
##1251711.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425172
Deuteranopia (green-blind)
#354870
Tritanopia (blue-blind)
#00595C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #125171;
/* rgb */ color: rgb(18, 81, 113);
/* oklch */ color: oklch(41.3% 0.081 236.5);
Tailwind
colors: {
  custom: {
    50: '#61819a',
    500: '#125171',
    950: '#000000',
  },
}
SCSS
$custom: #125171;
$custom-light: #61819a;
$custom-dark: #000000;
JSON
{
  "hex": "#125171",
  "rgb": {
    "r": 18,
    "g": 81,
    "b": 113
  },
  "hsl": {
    "h": 200.211,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.41276,
    "c": 0.08071,
    "h": 236.5
  },
  "luminance": 0.07206
}

Semantic roles & 50–950 ramp

primary
#125171
secondary
#A85D37
accent
#7639EF
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #125171

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

Preview Lab → · Contrast checker → · Palette generator →

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