#162F4D#162F4D

#162F4D is a dark, moderate cyan. Relative luminance 0.027; OKLCH L 30.2% C 0.063 H 254.2°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#162F4D
RGBrgb(22, 47, 77)
HSLhsl(213, 56%, 19%)
HSVhsv(213, 71%, 30%)
CMYKcmyk(71.4%, 39%, 0%, 69.8%)
CIE-LABlab(18.97, 1.58, -21.35)
CIE-LCHlch(18.97, 21.41, 274.24°)
OKLaboklab(30.16% -0.0171 -0.0606)
OKLCHoklch(30.16% 0.063 254.2)
XYZxyz(2.6865, 2.7392, 7.4069)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162F4D #4D3416
analogous
#164B4D #162F4D #18164D
triadic
#162F4D #4D162F #2F4D16
tetradic
#162F4D #4D164B #4D3416 #164D18
square
#162F4D #4D164B #4D3416 #164D18
split-complementary
#162F4D #4D1816 #4B4D16
monochromatic
#070F18 #08121D #162F4D #244C7D #3169AC

Accessibility & contrast

On white

13.57
#162F4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162F4D
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162F4D#FFFFFF#000000##FFFFFF
##162F4D1.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22314E
Deuteranopia (green-blind)
#1A2C4C
Tritanopia (blue-blind)
#00363A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #162f4d;
/* rgb */ color: rgb(22, 47, 77);
/* oklch */ color: oklch(30.2% 0.063 254.2);
Tailwind
colors: {
  custom: {
    50: '#5a677f',
    500: '#162f4d',
    950: '#000000',
  },
}
SCSS
$custom: #162f4d;
$custom-light: #5a677f;
$custom-dark: #000000;
JSON
{
  "hex": "#162f4d",
  "rgb": {
    "r": 22,
    "g": 47,
    "b": 77
  },
  "hsl": {
    "h": 212.727,
    "s": 55.556,
    "l": 19.412
  },
  "oklch": {
    "l": 0.30163,
    "c": 0.06294,
    "h": 254.2
  },
  "luminance": 0.02739
}

Semantic roles & 50–950 ramp

primary
#162F4D
secondary
#85633A
accent
#9B49DF
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #162F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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