#125162#125162

#125162 is a dark, moderate cyan. Relative luminance 0.069; OKLCH L 40.5% C 0.067 H 220.5°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#125162
RGBrgb(18, 81, 98)
HSLhsl(193, 69%, 23%)
HSVhsv(193, 82%, 38%)
CMYKcmyk(81.6%, 17.3%, 0%, 61.6%)
CIE-LABlab(31.57, -12.86, -15.45)
CIE-LCHlch(31.57, 20.10, 230.22°)
OKLaboklab(40.48% -0.0507 -0.0432)
OKLCHoklch(40.48% 0.067 220.5)
XYZxyz(5.3956, 6.8946, 12.5993)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125162 #622312
analogous
#12624B #125162 #122962
triadic
#125162 #621251 #516212
tetradic
#125162 #4B1262 #622312 #296212
square
#125162 #4B1262 #622312 #296212
split-complementary
#125162 #621229 #624B12
monochromatic
#05151A #09262E #125162 #1B7C96 #25A6C9

Accessibility & contrast

On white

8.83
#125162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#125162 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125162
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125162#FFFFFF#000000##FFFFFF
##1251621.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474F63
Deuteranopia (green-blind)
#3C4762
Tritanopia (blue-blind)
#005656
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #125162;
/* rgb */ color: rgb(18, 81, 98);
/* oklch */ color: oklch(40.5% 0.067 220.5);
Tailwind
colors: {
  custom: {
    50: '#5f828e',
    500: '#125162',
    950: '#000000',
  },
}
SCSS
$custom: #125162;
$custom-light: #5f828e;
$custom-dark: #000000;
JSON
{
  "hex": "#125162",
  "rgb": {
    "r": 18,
    "g": 81,
    "b": 98
  },
  "hsl": {
    "h": 192.75,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.40482,
    "c": 0.0666,
    "h": 220.5
  },
  "luminance": 0.06895
}

Semantic roles & 50–950 ramp

primary
#125162
secondary
#9A4B36
accent
#613CEC
background
#F5F7F8
surface
#EAEEF0
border
#C6C9CB
text
#050A0C
muted
#797C7D

Preview Lab

Preview with #125162

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

Preview Lab → · Contrast checker → · Palette generator →

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