#162264#162264

#162264 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 29.0% C 0.117 H 269.6°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#162264
RGBrgb(22, 34, 100)
HSLhsl(231, 64%, 24%)
HSVhsv(231, 78%, 39%)
CMYKcmyk(78%, 66%, 0%, 60.8%)
CIE-LABlab(16.67, 20.66, -40.39)
CIE-LCHlch(16.67, 45.37, 297.09°)
OKLaboklab(28.98% -0.0009 -0.1167)
OKLCHoklch(28.98% 0.117 269.6)
XYZxyz(3.2024, 2.2344, 12.3166)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162264 #645816
analogous
#164964 #162264 #311664
triadic
#162264 #641622 #226416
tetradic
#162264 #641649 #645816 #166431
square
#162264 #641649 #645816 #166431
split-complementary
#162264 #643116 #496416
monochromatic
#060919 #0B1132 #162264 #213396 #2C44C8

Accessibility & contrast

On white

14.51
#162264 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#162264 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162264
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162264#FFFFFF#000000##FFFFFF
##1622641.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D66
Deuteranopia (green-blind)
#002663
Tritanopia (blue-blind)
#00333F
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #162264;
/* rgb */ color: rgb(22, 34, 100);
/* oklch */ color: oklch(29.0% 0.117 269.6);
Tailwind
colors: {
  custom: {
    50: '#605c91',
    500: '#162264',
    950: '#000000',
  },
}
SCSS
$custom: #162264;
$custom-light: #605c91;
$custom-dark: #000000;
JSON
{
  "hex": "#162264",
  "rgb": {
    "r": 22,
    "g": 34,
    "b": 100
  },
  "hsl": {
    "h": 230.769,
    "s": 63.934,
    "l": 23.922
  },
  "oklch": {
    "l": 0.28975,
    "c": 0.1167,
    "h": 269.6
  },
  "luminance": 0.02235
}

Semantic roles & 50–950 ramp

primary
#162264
secondary
#9B8C3B
accent
#CD41E7
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05040D
muted
#79797E

Preview Lab

Preview with #162264

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

Preview Lab → · Contrast checker → · Palette generator →

#162264 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva