#162E75#162E75

#162E75 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.1% C 0.126 H 265.6°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#162E75
RGBrgb(22, 46, 117)
HSLhsl(225, 68%, 27%)
HSVhsv(225, 81%, 46%)
CMYKcmyk(81.2%, 60.7%, 0%, 54.1%)
CIE-LABlab(21.61, 19.00, -43.37)
CIE-LCHlch(21.61, 47.35, 293.66°)
OKLaboklab(33.13% -0.0096 -0.1252)
OKLCHoklch(33.13% 0.126 265.6)
XYZxyz(4.5176, 3.4084, 17.2460)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162E75 #755D16
analogous
#165E75 #162E75 #2E1675
triadic
#162E75 #75162E #2E7516
tetradic
#162E75 #75165E #755D16 #16752E
square
#162E75 #75165E #755D16 #16752E
split-complementary
#162E75 #752E16 #5E7516
monochromatic
#050A1A #0C1A41 #162E75 #2042A9 #2E59D8

Accessibility & contrast

On white

12.49
#162E75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#162E75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162E75
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162E75#FFFFFF#000000##FFFFFF
##162E751.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #162e75;
/* rgb */ color: rgb(22, 46, 117);
/* oklch */ color: oklch(33.1% 0.126 265.6);
Tailwind
colors: {
  custom: {
    50: '#64669d',
    500: '#162e75',
    950: '#000000',
  },
}
SCSS
$custom: #162e75;
$custom-light: #64669d;
$custom-dark: #000000;
JSON
{
  "hex": "#162e75",
  "rgb": {
    "r": 22,
    "g": 46,
    "b": 117
  },
  "hsl": {
    "h": 224.842,
    "s": 68.345,
    "l": 27.255
  },
  "oklch": {
    "l": 0.33127,
    "c": 0.12562,
    "h": 265.6
  },
  "luminance": 0.03409
}

Semantic roles & 50–950 ramp

primary
#162E75
secondary
#AB8F3C
accent
#BF3DEB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #162E75

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

Preview Lab → · Contrast checker → · Palette generator →

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