#125875#125875

#125875 is a dark, moderate cyan. Relative luminance 0.084; OKLCH L 43.3% C 0.081 H 231.5°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#125875
RGBrgb(18, 88, 117)
HSLhsl(198, 73%, 26%)
HSVhsv(198, 85%, 46%)
CMYKcmyk(84.6%, 24.8%, 0%, 54.1%)
CIE-LABlab(34.79, -9.83, -22.37)
CIE-LCHlch(34.79, 24.43, 246.27°)
OKLaboklab(43.35% -0.0502 -0.063)
OKLCHoklch(43.35% 0.081 231.5)
XYZxyz(6.9488, 8.3915, 18.0797)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125875 #752F12
analogous
#127561 #125875 #122775
triadic
#125875 #751258 #587512
tetradic
#125875 #611275 #752F12 #277512
square
#125875 #611275 #752F12 #277512
split-complementary
#125875 #751227 #756112
monochromatic
#04141B #0A3040 #125875 #1A80AA #24A7DD

Accessibility & contrast

On white

7.84
#125875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#125875 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125875
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125875#FFFFFF#000000##FFFFFF
##1258751.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495776
Deuteranopia (green-blind)
#3C4E75
Tritanopia (blue-blind)
#006062
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #125875;
/* rgb */ color: rgb(18, 88, 117);
/* oklch */ color: oklch(43.3% 0.081 231.5);
Tailwind
colors: {
  custom: {
    50: '#63879d',
    500: '#125875',
    950: '#000000',
  },
}
SCSS
$custom: #125875;
$custom-light: #63879d;
$custom-dark: #000000;
JSON
{
  "hex": "#125875",
  "rgb": {
    "r": 18,
    "g": 88,
    "b": 117
  },
  "hsl": {
    "h": 197.576,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.43347,
    "c": 0.08058,
    "h": 231.5
  },
  "luminance": 0.08392
}

Semantic roles & 50–950 ramp

primary
#125875
secondary
#AC5937
accent
#6E38F0
background
#F6F8F9
surface
#EBEFF2
border
#C6CACC
text
#060B0E
muted
#7A7C7E

Preview Lab

Preview with #125875

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

Preview Lab → · Contrast checker → · Palette generator →

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