#162E4F#162E4F

#162E4F is a dark, moderate cyan. Relative luminance 0.027; OKLCH L 30.0% C 0.067 H 256.8°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#162E4F
RGBrgb(22, 46, 79)
HSLhsl(215, 56%, 20%)
HSVhsv(215, 72%, 31%)
CMYKcmyk(72.2%, 41.8%, 0%, 69%)
CIE-LABlab(18.75, 3.12, -23.04)
CIE-LCHlch(18.75, 23.25, 277.71°)
OKLaboklab(30.04% -0.0153 -0.0655)
OKLCHoklch(30.04% 0.067 256.8)
XYZxyz(2.7186, 2.6888, 7.7713)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162E4F #4F3716
analogous
#164B4F #162E4F #1B164F
triadic
#162E4F #4F162E #2E4F16
tetradic
#162E4F #4F164B #4F3716 #164F1B
square
#162E4F #4F164B #4F3716 #164F1B
split-complementary
#162E4F #4F1B16 #4B4F16
monochromatic
#070E18 #09121F #162E4F #234A7F #3166AF

Accessibility & contrast

On white

13.66
#162E4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#162E4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162E4F
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162E4F#FFFFFF#000000##FFFFFF
##162E4F1.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3150
Deuteranopia (green-blind)
#172B4E
Tritanopia (blue-blind)
#00363A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #162e4f;
/* rgb */ color: rgb(22, 46, 79);
/* oklch */ color: oklch(30.0% 0.067 256.8);
Tailwind
colors: {
  custom: {
    50: '#5a6680',
    500: '#162e4f',
    950: '#000000',
  },
}
SCSS
$custom: #162e4f;
$custom-light: #5a6680;
$custom-dark: #000000;
JSON
{
  "hex": "#162e4f",
  "rgb": {
    "r": 22,
    "g": 46,
    "b": 79
  },
  "hsl": {
    "h": 214.737,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30035,
    "c": 0.06729,
    "h": 256.8
  },
  "luminance": 0.02689
}

Semantic roles & 50–950 ramp

primary
#162E4F
secondary
#86663A
accent
#A048E0
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04050A
muted
#797A7C

Preview Lab

Preview with #162E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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