#161273#161273

#161273 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 28.0% C 0.155 H 271.9°. Best body text is #FFFFFF at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#161273
RGBrgb(22, 18, 115)
HSLhsl(242, 73%, 26%)
HSVhsv(242, 84%, 45%)
CMYKcmyk(80.9%, 84.3%, 0%, 54.9%)
CIE-LABlab(14.63, 36.53, -53.56)
CIE-LCHlch(14.63, 64.83, 304.30°)
OKLaboklab(28% 0.0052 -0.155)
OKLCHoklch(28% 0.155 271.9)
XYZxyz(3.6407, 1.8406, 16.3797)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161273 #6F7312
analogous
#123E73 #161273 #461273
triadic
#161273 #731612 #127316
tetradic
#161273 #73123E #6F7312 #127346
square
#161273 #73123E #6F7312 #127346
split-complementary
#161273 #734612 #3E7312
monochromatic
#05041A #0C0A3E #161273 #201AA8 #2B23DD

Accessibility & contrast

On white

15.35
#161273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#161273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161273
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161273#FFFFFF#000000##FFFFFF
##1612731.0015.351.3715.35
#FFFFFF15.351.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A76
Deuteranopia (green-blind)
#002071
Tritanopia (blue-blind)
#003143
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #161273;
/* rgb */ color: rgb(22, 18, 115);
/* oklch */ color: oklch(28.0% 0.155 271.9);
Tailwind
colors: {
  custom: {
    50: '#66539c',
    500: '#161273',
    950: '#000000',
  },
}
SCSS
$custom: #161273;
$custom-light: #66539c;
$custom-dark: #000000;
JSON
{
  "hex": "#161273",
  "rgb": {
    "r": 22,
    "g": 18,
    "b": 115
  },
  "hsl": {
    "h": 242.474,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28002,
    "c": 0.1551,
    "h": 271.9
  },
  "luminance": 0.01841
}

Semantic roles & 50–950 ramp

primary
#161273
secondary
#A5AA37
accent
#F038E8
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #161273

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

Preview Lab → · Contrast checker → · Palette generator →

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