#162468#162468

#162468 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.8% C 0.120 H 268.8°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#162468
RGBrgb(22, 36, 104)
HSLhsl(230, 65%, 25%)
HSVhsv(230, 79%, 41%)
CMYKcmyk(78.8%, 65.4%, 0%, 59.2%)
CIE-LABlab(17.61, 20.85, -41.49)
CIE-LCHlch(17.61, 46.44, 296.68°)
OKLaboklab(29.78% -0.0025 -0.1199)
OKLCHoklch(29.78% 0.12 268.8)
XYZxyz(3.4596, 2.4314, 13.3810)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162468 #685A16
analogous
#164D68 #162468 #311668
triadic
#162468 #681624 #246816
tetradic
#162468 #68164D #685A16 #166831
square
#162468 #68164D #685A16 #166831
split-complementary
#162468 #683116 #4D6816
monochromatic
#050919 #0B1335 #162468 #21359B #2B47CD

Accessibility & contrast

On white

14.13
#162468 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#162468 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162468
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162468#FFFFFF#000000##FFFFFF
##1624681.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6A
Deuteranopia (green-blind)
#002767
Tritanopia (blue-blind)
#003542
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #162468;
/* rgb */ color: rgb(22, 36, 104);
/* oklch */ color: oklch(29.8% 0.120 268.8);
Tailwind
colors: {
  custom: {
    50: '#615e94',
    500: '#162468',
    950: '#000000',
  },
}
SCSS
$custom: #162468;
$custom-light: #615e94;
$custom-dark: #000000;
JSON
{
  "hex": "#162468",
  "rgb": {
    "r": 22,
    "g": 36,
    "b": 104
  },
  "hsl": {
    "h": 229.756,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.29781,
    "c": 0.11993,
    "h": 268.8
  },
  "luminance": 0.02432
}

Semantic roles & 50–950 ramp

primary
#162468
secondary
#9F8E3B
accent
#CB40E8
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #162468

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

Preview Lab → · Contrast checker → · Palette generator →

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