#162F4E#162F4E

#162F4E is a dark, moderate cyan. Relative luminance 0.028; OKLCH L 30.2% C 0.064 H 254.9°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#162F4E
RGBrgb(22, 47, 78)
HSLhsl(213, 56%, 20%)
HSVhsv(213, 72%, 31%)
CMYKcmyk(71.8%, 39.7%, 0%, 69.4%)
CIE-LABlab(19.03, 1.99, -21.93)
CIE-LCHlch(19.03, 22.02, 275.19°)
OKLaboklab(30.23% -0.0168 -0.0622)
OKLCHoklch(30.23% 0.064 254.9)
XYZxyz(2.7220, 2.7534, 7.5943)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162F4E #4E3516
analogous
#164B4E #162F4E #19164E
triadic
#162F4E #4E162F #2F4E16
tetradic
#162F4E #4E164B #4E3516 #164E19
square
#162F4E #4E164B #4E3516 #164E19
split-complementary
#162F4E #4E1916 #4B4E16
monochromatic
#070E18 #09121E #162F4E #234C7E #3169AD

Accessibility & contrast

On white

13.54
#162F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162F4E
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162F4E#FFFFFF#000000##FFFFFF
##162F4E1.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21314F
Deuteranopia (green-blind)
#1A2C4D
Tritanopia (blue-blind)
#00363A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #162f4e;
/* rgb */ color: rgb(22, 47, 78);
/* oklch */ color: oklch(30.2% 0.064 254.9);
Tailwind
colors: {
  custom: {
    50: '#5a6780',
    500: '#162f4e',
    950: '#000000',
  },
}
SCSS
$custom: #162f4e;
$custom-light: #5a6780;
$custom-dark: #000000;
JSON
{
  "hex": "#162f4e",
  "rgb": {
    "r": 22,
    "g": 47,
    "b": 78
  },
  "hsl": {
    "h": 213.214,
    "s": 56,
    "l": 19.608
  },
  "oklch": {
    "l": 0.3023,
    "c": 0.06448,
    "h": 254.9
  },
  "luminance": 0.02754
}

Semantic roles & 50–950 ramp

primary
#162F4E
secondary
#85643A
accent
#9C49DF
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #162F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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