#162F4C#162F4C

#162F4C is a dark, moderate cyan. Relative luminance 0.027; OKLCH L 30.1% C 0.061 H 253.5°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#162F4C
RGBrgb(22, 47, 76)
HSLhsl(212, 55%, 19%)
HSVhsv(212, 71%, 30%)
CMYKcmyk(71.1%, 38.2%, 0%, 70.2%)
CIE-LABlab(18.91, 1.18, -20.77)
CIE-LCHlch(18.91, 20.81, 273.24°)
OKLaboklab(30.1% -0.0174 -0.0589)
OKLCHoklch(30.1% 0.061 253.5)
XYZxyz(2.6514, 2.7251, 7.2224)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162F4C #4C3316
analogous
#164A4C #162F4C #18164C
triadic
#162F4C #4C162F #2F4C16
tetradic
#162F4C #4C164A #4C3316 #164C18
square
#162F4C #4C164A #4C3316 #164C18
split-complementary
#162F4C #4C1816 #4A4C16
monochromatic
#070F18 #08121D #162F4C #244C7B #316AAB

Accessibility & contrast

On white

13.59
#162F4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162F4C
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162F4C#FFFFFF#000000##FFFFFF
##162F4C1.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #162f4c;
/* rgb */ color: rgb(22, 47, 76);
/* oklch */ color: oklch(30.1% 0.061 253.5);
Tailwind
colors: {
  custom: {
    50: '#5a677e',
    500: '#162f4c',
    950: '#000000',
  },
}
SCSS
$custom: #162f4c;
$custom-light: #5a677e;
$custom-dark: #000000;
JSON
{
  "hex": "#162f4c",
  "rgb": {
    "r": 22,
    "g": 47,
    "b": 76
  },
  "hsl": {
    "h": 212.222,
    "s": 55.102,
    "l": 19.216
  },
  "oklch": {
    "l": 0.30097,
    "c": 0.0614,
    "h": 253.5
  },
  "luminance": 0.02725
}

Semantic roles & 50–950 ramp

primary
#162F4C
secondary
#84623A
accent
#9949DE
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #162F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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