#126172#126172

#126172 is a mid, moderate cyan. Relative luminance 0.099; OKLCH L 45.6% C 0.076 H 216.5°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#126172
RGBrgb(18, 97, 114)
HSLhsl(191, 73%, 26%)
HSVhsv(191, 84%, 45%)
CMYKcmyk(84.2%, 14.9%, 0%, 55.3%)
CIE-LABlab(37.65, -16.21, -16.09)
CIE-LCHlch(37.65, 22.84, 224.79°)
OKLaboklab(45.6% -0.0607 -0.045)
OKLCHoklch(45.6% 0.076 216.5)
XYZxyz(7.5601, 9.8919, 17.4272)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126172 #722312
analogous
#127253 #126172 #123172
triadic
#126172 #721261 #617212
tetradic
#126172 #531272 #722312 #317212
square
#126172 #531272 #722312 #317212
split-complementary
#126172 #721231 #725312
monochromatic
#04161A #0A343D #126172 #1A8EA7 #23BBDC

Accessibility & contrast

On white

7.05
#126172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#126172 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126172
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126172#FFFFFF#000000##FFFFFF
##1261721.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565E73
Deuteranopia (green-blind)
#495572
Tritanopia (blue-blind)
#006766
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #126172;
/* rgb */ color: rgb(18, 97, 114);
/* oklch */ color: oklch(45.6% 0.076 216.5);
Tailwind
colors: {
  custom: {
    50: '#638e9a',
    500: '#126172',
    950: '#000000',
  },
}
SCSS
$custom: #126172;
$custom-light: #638e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#126172",
  "rgb": {
    "r": 18,
    "g": 97,
    "b": 114
  },
  "hsl": {
    "h": 190.625,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.45599,
    "c": 0.07559,
    "h": 216.5
  },
  "luminance": 0.09893
}

Semantic roles & 50–950 ramp

primary
#126172
secondary
#A94B37
accent
#5938EF
background
#F6F8F9
surface
#EBF0F2
border
#C6CBCC
text
#060C0E
muted
#7A7D7E

Preview Lab

Preview with #126172

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

Preview Lab → · Contrast checker → · Palette generator →

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