#162F4F#162F4F

#162F4F is a dark, moderate cyan. Relative luminance 0.028; OKLCH L 30.3% C 0.066 H 255.5°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#162F4F
RGBrgb(22, 47, 79)
HSLhsl(214, 56%, 20%)
HSVhsv(214, 72%, 31%)
CMYKcmyk(72.2%, 40.5%, 0%, 69%)
CIE-LABlab(19.09, 2.40, -22.51)
CIE-LCHlch(19.09, 22.64, 276.10°)
OKLaboklab(30.3% -0.0165 -0.0639)
OKLCHoklch(30.3% 0.066 255.5)
XYZxyz(2.7582, 2.7678, 7.7845)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162F4F #4F3616
analogous
#164C4F #162F4F #19164F
triadic
#162F4F #4F162F #2F4F16
tetradic
#162F4F #4F164C #4F3616 #164F19
square
#162F4F #4F164C #4F3616 #164F19
split-complementary
#162F4F #4F1916 #4C4F16
monochromatic
#070E18 #09131F #162F4F #234B7F #3168AF

Accessibility & contrast

On white

13.52
#162F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#162F4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162F4F
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162F4F#FFFFFF#000000##FFFFFF
##162F4F1.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213150
Deuteranopia (green-blind)
#192C4E
Tritanopia (blue-blind)
#00363B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #162f4f;
/* rgb */ color: rgb(22, 47, 79);
/* oklch */ color: oklch(30.3% 0.066 255.5);
Tailwind
colors: {
  custom: {
    50: '#5a6780',
    500: '#162f4f',
    950: '#000000',
  },
}
SCSS
$custom: #162f4f;
$custom-light: #5a6780;
$custom-dark: #000000;
JSON
{
  "hex": "#162f4f",
  "rgb": {
    "r": 22,
    "g": 47,
    "b": 79
  },
  "hsl": {
    "h": 213.684,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30297,
    "c": 0.06604,
    "h": 255.5
  },
  "luminance": 0.02768
}

Semantic roles & 50–950 ramp

primary
#162F4F
secondary
#86653A
accent
#9D48E0
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #162F4F

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

Preview Lab → · Contrast checker → · Palette generator →

#162F4F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva