#125873#125873

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

Color values

HEX#125873
RGBrgb(18, 88, 115)
HSLhsl(197, 73%, 26%)
HSVhsv(197, 84%, 45%)
CMYKcmyk(84.3%, 23.5%, 0%, 54.9%)
CIE-LABlab(34.69, -10.60, -21.27)
CIE-LCHlch(34.69, 23.77, 243.51°)
OKLaboklab(43.24% -0.051 -0.0599)
OKLCHoklch(43.24% 0.079 229.6)
XYZxyz(6.8324, 8.3450, 17.4670)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125873 #732D12
analogous
#12735D #125873 #122773
triadic
#125873 #731258 #587312
tetradic
#125873 #5D1273 #732D12 #277312
square
#125873 #5D1273 #732D12 #277312
split-complementary
#125873 #731227 #735D12
monochromatic
#04141A #0A303E #125873 #1A80A8 #23A9DD

Accessibility & contrast

On white

7.87
#125873 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#125873 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125873
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125873#FFFFFF#000000##FFFFFF
##1258731.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5774
Deuteranopia (green-blind)
#3D4E73
Tritanopia (blue-blind)
#005F61
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #125873;
/* rgb */ color: rgb(18, 88, 115);
/* oklch */ color: oklch(43.2% 0.079 229.6);
Tailwind
colors: {
  custom: {
    50: '#62879b',
    500: '#125873',
    950: '#000000',
  },
}
SCSS
$custom: #125873;
$custom-light: #62879b;
$custom-dark: #000000;
JSON
{
  "hex": "#125873",
  "rgb": {
    "r": 18,
    "g": 88,
    "b": 115
  },
  "hsl": {
    "h": 196.701,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.4324,
    "c": 0.07864,
    "h": 229.6
  },
  "luminance": 0.08346
}

Semantic roles & 50–950 ramp

primary
#125873
secondary
#AA5737
accent
#6B38F0
background
#F6F8F9
surface
#EBEFF2
border
#C6CACC
text
#060B0E
muted
#7A7C7E

Preview Lab

Preview with #125873

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

Preview Lab → · Contrast checker → · Palette generator →

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