#161270#161270

#161270 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.6% C 0.151 H 272.3°. Best body text is #FFFFFF at 15.50:1 contrast (WCAG AA passes).

Color values

HEX#161270
RGBrgb(22, 18, 112)
HSLhsl(243, 72%, 25%)
HSVhsv(243, 84%, 44%)
CMYKcmyk(80.4%, 83.9%, 0%, 56.1%)
CIE-LABlab(14.25, 35.51, -52.25)
CIE-LCHlch(14.25, 63.17, 304.20°)
OKLaboklab(27.63% 0.006 -0.1512)
OKLCHoklch(27.63% 0.151 272.3)
XYZxyz(3.4708, 1.7727, 15.4853)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161270 #6C7012
analogous
#123D70 #161270 #451270
triadic
#161270 #701612 #127016
tetradic
#161270 #70123D #6C7012 #127045
square
#161270 #70123D #6C7012 #127045
split-complementary
#161270 #704512 #3D7012
monochromatic
#05041A #0C0A3B #161270 #201AA5 #2B23D9

Accessibility & contrast

On white

15.50
#161270 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161270
15.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161270#FFFFFF#000000##FFFFFF
##1612701.0015.501.3515.50
#FFFFFF15.501.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002973
Deuteranopia (green-blind)
#001F6E
Tritanopia (blue-blind)
#002F41
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #161270;
/* rgb */ color: rgb(22, 18, 112);
/* oklch */ color: oklch(27.6% 0.151 272.3);
Tailwind
colors: {
  custom: {
    50: '#66529a',
    500: '#161270',
    950: '#000000',
  },
}
SCSS
$custom: #161270;
$custom-light: #66529a;
$custom-dark: #000000;
JSON
{
  "hex": "#161270",
  "rgb": {
    "r": 22,
    "g": 18,
    "b": 112
  },
  "hsl": {
    "h": 242.553,
    "s": 72.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.27626,
    "c": 0.15132,
    "h": 272.3
  },
  "luminance": 0.01773
}

Semantic roles & 50–950 ramp

primary
#161270
secondary
#A2A737
accent
#EF39E7
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #161270

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

Preview Lab → · Contrast checker → · Palette generator →

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