#162F73#162F73

#162F73 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.2% C 0.121 H 265.0°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#162F73
RGBrgb(22, 47, 115)
HSLhsl(224, 68%, 27%)
HSVhsv(224, 81%, 45%)
CMYKcmyk(80.9%, 59.1%, 0%, 54.9%)
CIE-LABlab(21.73, 17.46, -41.89)
CIE-LCHlch(21.73, 45.38, 292.62°)
OKLaboklab(33.16% -0.0105 -0.1209)
OKLCHoklch(33.16% 0.121 265)
XYZxyz(4.4408, 3.4409, 16.6464)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162F73 #735A16
analogous
#165E73 #162F73 #2C1673
triadic
#162F73 #73162F #2F7316
tetradic
#162F73 #73165E #735A16 #16732C
square
#162F73 #73165E #735A16 #16732C
split-complementary
#162F73 #732C16 #5E7316
monochromatic
#050A1A #0C1A40 #162F73 #2044A6 #2D5AD7

Accessibility & contrast

On white

12.44
#162F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#162F73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162F73
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162F73#FFFFFF#000000##FFFFFF
##162F731.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003975
Deuteranopia (green-blind)
#003072
Tritanopia (blue-blind)
#00404C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #162f73;
/* rgb */ color: rgb(22, 47, 115);
/* oklch */ color: oklch(33.2% 0.121 265.0);
Tailwind
colors: {
  custom: {
    50: '#64679c',
    500: '#162f73',
    950: '#000000',
  },
}
SCSS
$custom: #162f73;
$custom-light: #64679c;
$custom-dark: #000000;
JSON
{
  "hex": "#162f73",
  "rgb": {
    "r": 22,
    "g": 47,
    "b": 115
  },
  "hsl": {
    "h": 223.871,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.33163,
    "c": 0.12136,
    "h": 265
  },
  "luminance": 0.03441
}

Semantic roles & 50–950 ramp

primary
#162F73
secondary
#A98C3C
accent
#BC3DEB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #162F73

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

Preview Lab → · Contrast checker → · Palette generator →

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