#166781#166781

#166781 is a mid, moderate cyan. Relative luminance 0.115; OKLCH L 48.0% C 0.084 H 225.0°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#166781
RGBrgb(22, 103, 129)
HSLhsl(195, 71%, 30%)
HSVhsv(195, 83%, 51%)
CMYKcmyk(82.9%, 20.2%, 0%, 49.4%)
CIE-LABlab(40.34, -13.74, -21.10)
CIE-LCHlch(40.34, 25.18, 236.93°)
OKLaboklab(47.99% -0.0591 -0.0592)
OKLCHoklch(47.99% 0.084 225)
XYZxyz(9.1419, 11.4549, 22.4938)
Luminance0.1146 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166781 #813016
analogous
#168165 #166781 #163281
triadic
#166781 #811667 #678116
tetradic
#166781 #651681 #813016 #328116
square
#166781 #651681 #813016 #328116
split-complementary
#166781 #811632 #816516
monochromatic
#04151A #0D3D4D #166781 #1F91B5 #35B4DD

Accessibility & contrast

On white

6.38
#166781 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#166781 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166781
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166781#FFFFFF#000000##FFFFFF
##1667811.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596582
Deuteranopia (green-blind)
#4B5B81
Tritanopia (blue-blind)
#006F70
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #166781;
/* rgb */ color: rgb(22, 103, 129);
/* oklch */ color: oklch(48.0% 0.084 225.0);
Tailwind
colors: {
  custom: {
    50: '#6792a5',
    500: '#166781',
    950: '#000000',
  },
}
SCSS
$custom: #166781;
$custom-light: #6792a5;
$custom-dark: #000000;
JSON
{
  "hex": "#166781",
  "rgb": {
    "r": 22,
    "g": 103,
    "b": 129
  },
  "hsl": {
    "h": 194.579,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.47991,
    "c": 0.0837,
    "h": 225
  },
  "luminance": 0.11456
}

Semantic roles & 50–950 ramp

primary
#166781
secondary
#B65A3D
accent
#663AEE
background
#F6F9FA
surface
#EBF1F4
border
#C6CBCE
text
#070D0F
muted
#7A7E7F

Preview Lab

Preview with #166781

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

Preview Lab → · Contrast checker → · Palette generator →

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