#162568#162568

#162568 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 30.0% C 0.119 H 268.4°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#162568
RGBrgb(22, 37, 104)
HSLhsl(229, 65%, 25%)
HSVhsv(229, 79%, 41%)
CMYKcmyk(78.8%, 64.4%, 0%, 59.2%)
CIE-LABlab(17.89, 20.13, -41.04)
CIE-LCHlch(17.89, 45.71, 296.13°)
OKLaboklab(29.99% -0.0032 -0.1185)
OKLCHoklch(29.99% 0.119 268.4)
XYZxyz(3.4903, 2.4928, 13.3912)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162568 #685916
analogous
#164E68 #162568 #301668
triadic
#162568 #681625 #256816
tetradic
#162568 #68164E #685916 #166830
square
#162568 #68164E #685916 #166830
split-complementary
#162568 #683016 #4E6816
monochromatic
#050919 #0B1335 #162568 #21379B #2B49CD

Accessibility & contrast

On white

14.01
#162568 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#162568 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162568
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162568#FFFFFF#000000##FFFFFF
##1625681.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306A
Deuteranopia (green-blind)
#002867
Tritanopia (blue-blind)
#003642
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #162568;
/* rgb */ color: rgb(22, 37, 104);
/* oklch */ color: oklch(30.0% 0.119 268.4);
Tailwind
colors: {
  custom: {
    50: '#615f94',
    500: '#162568',
    950: '#000000',
  },
}
SCSS
$custom: #162568;
$custom-light: #615f94;
$custom-dark: #000000;
JSON
{
  "hex": "#162568",
  "rgb": {
    "r": 22,
    "g": 37,
    "b": 104
  },
  "hsl": {
    "h": 229.024,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.29989,
    "c": 0.11859,
    "h": 268.4
  },
  "luminance": 0.02493
}

Semantic roles & 50–950 ramp

primary
#162568
secondary
#9F8C3B
accent
#C940E8
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #162568

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

Preview Lab → · Contrast checker → · Palette generator →

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