#162268#162268

#162268 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.4% C 0.123 H 269.5°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#162268
RGBrgb(22, 34, 104)
HSLhsl(231, 65%, 25%)
HSVhsv(231, 79%, 41%)
CMYKcmyk(78.8%, 67.3%, 0%, 59.2%)
CIE-LABlab(17.05, 22.28, -42.40)
CIE-LCHlch(17.05, 47.90, 297.73°)
OKLaboklab(29.37% -0.001 -0.1226)
OKLCHoklch(29.37% 0.123 269.5)
XYZxyz(3.4007, 2.3137, 13.3614)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162268 #685C16
analogous
#164B68 #162268 #331668
triadic
#162268 #681622 #226816
tetradic
#162268 #68164B #685C16 #166833
square
#162268 #68164B #685C16 #166833
split-complementary
#162268 #683316 #4B6816
monochromatic
#050819 #0B1135 #162268 #21339B #2B43CD

Accessibility & contrast

On white

14.36
#162268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#162268 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162268
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162268#FFFFFF#000000##FFFFFF
##1622681.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6A
Deuteranopia (green-blind)
#002667
Tritanopia (blue-blind)
#003441
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #162268;
/* rgb */ color: rgb(22, 34, 104);
/* oklch */ color: oklch(29.4% 0.123 269.5);
Tailwind
colors: {
  custom: {
    50: '#625d94',
    500: '#162268',
    950: '#000000',
  },
}
SCSS
$custom: #162268;
$custom-light: #625d94;
$custom-dark: #000000;
JSON
{
  "hex": "#162268",
  "rgb": {
    "r": 22,
    "g": 34,
    "b": 104
  },
  "hsl": {
    "h": 231.22,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.29374,
    "c": 0.12257,
    "h": 269.5
  },
  "luminance": 0.02314
}

Semantic roles & 50–950 ramp

primary
#162268
secondary
#9F903B
accent
#CF40E8
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #162268

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

Preview Lab → · Contrast checker → · Palette generator →

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