#164781#164781

#164781 is a dark, moderate cyan. Relative luminance 0.063; OKLCH L 39.9% C 0.111 H 255.2°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#164781
RGBrgb(22, 71, 129)
HSLhsl(213, 71%, 30%)
HSVhsv(213, 83%, 51%)
CMYKcmyk(82.9%, 45%, 0%, 49.4%)
CIE-LABlab(30.06, 6.40, -37.28)
CIE-LCHlch(30.06, 37.82, 279.74°)
OKLaboklab(39.87% -0.0283 -0.1068)
OKLCHoklch(39.87% 0.111 255.2)
XYZxyz(6.5451, 6.2612, 21.6282)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164781 #815016
analogous
#167D81 #164781 #1A1681
triadic
#164781 #811647 #478116
tetradic
#164781 #81167D #815016 #16811A
square
#164781 #81167D #815016 #16811A
split-complementary
#164781 #811A16 #7D8116
monochromatic
#040E1A #0D2A4D #164781 #1F64B5 #3582DD

Accessibility & contrast

On white

9.32
#164781 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#164781 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164781
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164781#FFFFFF#000000##FFFFFF
##1647811.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294C83
Deuteranopia (green-blind)
#144280
Tritanopia (blue-blind)
#00555D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #164781;
/* rgb */ color: rgb(22, 71, 129);
/* oklch */ color: oklch(39.9% 0.111 255.2);
Tailwind
colors: {
  custom: {
    50: '#6679a6',
    500: '#164781',
    950: '#000000',
  },
}
SCSS
$custom: #164781;
$custom-light: #6679a6;
$custom-dark: #000000;
JSON
{
  "hex": "#164781",
  "rgb": {
    "r": 22,
    "g": 71,
    "b": 129
  },
  "hsl": {
    "h": 212.523,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39869,
    "c": 0.11051,
    "h": 255.2
  },
  "luminance": 0.06262
}

Semantic roles & 50–950 ramp

primary
#164781
secondary
#B67E3D
accent
#9B3AEE
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #164781

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

Preview Lab → · Contrast checker → · Palette generator →

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