#162365#162365

#162365 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.3% C 0.117 H 269.2°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#162365
RGBrgb(22, 35, 101)
HSLhsl(230, 64%, 24%)
HSVhsv(230, 78%, 40%)
CMYKcmyk(78.2%, 65.3%, 0%, 60.4%)
CIE-LABlab(17.05, 20.35, -40.44)
CIE-LCHlch(17.05, 45.27, 296.71°)
OKLaboklab(29.28% -0.0017 -0.1168)
OKLCHoklch(29.28% 0.117 269.2)
XYZxyz(3.2801, 2.3119, 12.5828)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162365 #655816
analogous
#164B65 #162365 #311665
triadic
#162365 #651623 #236516
tetradic
#162365 #65164B #655816 #166531
square
#162365 #65164B #655816 #166531
split-complementary
#162365 #653116 #4B6516
monochromatic
#050919 #0B1233 #162365 #213497 #2C46CA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##162365#FFFFFF#000000##FFFFFF
##1623651.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)
#002E67
Deuteranopia (green-blind)
#002664
Tritanopia (blue-blind)
#003440
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #162365;
/* rgb */ color: rgb(22, 35, 101);
/* oklch */ color: oklch(29.3% 0.117 269.2);
Tailwind
colors: {
  custom: {
    50: '#615d92',
    500: '#162365',
    950: '#000000',
  },
}
SCSS
$custom: #162365;
$custom-light: #615d92;
$custom-dark: #000000;
JSON
{
  "hex": "#162365",
  "rgb": {
    "r": 22,
    "g": 35,
    "b": 101
  },
  "hsl": {
    "h": 230.127,
    "s": 64.228,
    "l": 24.118
  },
  "oklch": {
    "l": 0.2928,
    "c": 0.11684,
    "h": 269.2
  },
  "luminance": 0.02312
}

Semantic roles & 50–950 ramp

primary
#162365
secondary
#9C8C3B
accent
#CC41E7
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05040D
muted
#79797E

Preview Lab

Preview with #162365

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

Preview Lab → · Contrast checker → · Palette generator →

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