#162F6E#162F6E

#162F6E is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.7% C 0.114 H 264.5°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#162F6E
RGBrgb(22, 47, 110)
HSLhsl(223, 67%, 26%)
HSVhsv(223, 80%, 43%)
CMYKcmyk(80%, 57.3%, 0%, 56.9%)
CIE-LABlab(21.32, 15.38, -39.35)
CIE-LCHlch(21.32, 42.25, 291.34°)
OKLaboklab(32.72% -0.0109 -0.1134)
OKLCHoklch(32.72% 0.114 264.5)
XYZxyz(4.1609, 3.3289, 15.1721)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162F6E #6E5516
analogous
#165B6E #162F6E #29166E
triadic
#162F6E #6E162F #2F6E16
tetradic
#162F6E #6E165B #6E5516 #166E29
square
#162F6E #6E165B #6E5516 #166E29
split-complementary
#162F6E #6E2916 #5B6E16
monochromatic
#050B1A #0C193B #162F6E #2045A1 #2A5BD4

Accessibility & contrast

On white

12.61
#162F6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#162F6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162F6E
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162F6E#FFFFFF#000000##FFFFFF
##162F6E1.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003770
Deuteranopia (green-blind)
#002F6D
Tritanopia (blue-blind)
#003E49
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #162f6e;
/* rgb */ color: rgb(22, 47, 110);
/* oklch */ color: oklch(32.7% 0.114 264.5);
Tailwind
colors: {
  custom: {
    50: '#626798',
    500: '#162f6e',
    950: '#000000',
  },
}
SCSS
$custom: #162f6e;
$custom-light: #626798;
$custom-dark: #000000;
JSON
{
  "hex": "#162f6e",
  "rgb": {
    "r": 22,
    "g": 47,
    "b": 110
  },
  "hsl": {
    "h": 222.955,
    "s": 66.667,
    "l": 25.882
  },
  "oklch": {
    "l": 0.3272,
    "c": 0.11395,
    "h": 264.5
  },
  "luminance": 0.03329
}

Semantic roles & 50–950 ramp

primary
#162F6E
secondary
#A4863C
accent
#B93EEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #162F6E

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

Preview Lab → · Contrast checker → · Palette generator →

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