#161865#161865

#161865 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.2% C 0.131 H 272.5°. Best body text is #FFFFFF at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#161865
RGBrgb(22, 24, 101)
HSLhsl(238, 64%, 24%)
HSVhsv(238, 78%, 40%)
CMYKcmyk(78.2%, 76.2%, 0%, 60.4%)
CIE-LABlab(14.19, 27.98, -45.13)
CIE-LCHlch(14.19, 53.10, 301.80°)
OKLaboklab(27.2% 0.0057 -0.1306)
OKLCHoklch(27.2% 0.131 272.5)
XYZxyz(3.0057, 1.7631, 12.4913)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161865 #656316
analogous
#164065 #161865 #3C1665
triadic
#161865 #651618 #186516
tetradic
#161865 #651640 #656316 #16653C
square
#161865 #651640 #656316 #16653C
split-complementary
#161865 #653C16 #406516
monochromatic
#050619 #0B0C33 #161865 #212497 #2C30CA

Accessibility & contrast

On white

15.53
#161865 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#161865 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161865
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161865#FFFFFF#000000##FFFFFF
##1618651.0015.531.3515.53
#FFFFFF15.531.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002867
Deuteranopia (green-blind)
#002064
Tritanopia (blue-blind)
#002E3C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #161865;
/* rgb */ color: rgb(22, 24, 101);
/* oklch */ color: oklch(27.2% 0.131 272.5);
Tailwind
colors: {
  custom: {
    50: '#625592',
    500: '#161865',
    950: '#000000',
  },
}
SCSS
$custom: #161865;
$custom-light: #625592;
$custom-dark: #000000;
JSON
{
  "hex": "#161865",
  "rgb": {
    "r": 22,
    "g": 24,
    "b": 101
  },
  "hsl": {
    "h": 238.481,
    "s": 64.228,
    "l": 24.118
  },
  "oklch": {
    "l": 0.27201,
    "c": 0.13069,
    "h": 272.5
  },
  "luminance": 0.01763
}

Semantic roles & 50–950 ramp

primary
#161865
secondary
#9C993B
accent
#E341E7
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #161865

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

Preview Lab → · Contrast checker → · Palette generator →

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