#161266#161266

#161266 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.4% C 0.138 H 273.5°. Best body text is #FFFFFF at 16.00:1 contrast (WCAG AA passes).

Color values

HEX#161266
RGBrgb(22, 18, 102)
HSLhsl(243, 70%, 24%)
HSVhsv(243, 82%, 40%)
CMYKcmyk(78.4%, 82.4%, 0%, 60%)
CIE-LABlab(13.00, 32.05, -47.76)
CIE-LCHlch(13.00, 57.51, 303.86°)
OKLaboklab(26.39% 0.0085 -0.1382)
OKLCHoklch(26.39% 0.138 273.5)
XYZxyz(2.9447, 1.5622, 12.7141)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161266 #626612
analogous
#123866 #161266 #401266
triadic
#161266 #661612 #126616
tetradic
#161266 #661238 #626612 #126640
square
#161266 #661238 #626612 #126640
split-complementary
#161266 #664012 #386612
monochromatic
#06051A #0B0932 #161266 #211B9A #2C24CE

Accessibility & contrast

On white

16.00
#161266 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#161266 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161266
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161266#FFFFFF#000000##FFFFFF
##1612661.0016.001.3116.00
#FFFFFF16.001.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002568
Deuteranopia (green-blind)
#001D65
Tritanopia (blue-blind)
#002B3C
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #161266;
/* rgb */ color: rgb(22, 18, 102);
/* oklch */ color: oklch(26.4% 0.138 273.5);
Tailwind
colors: {
  custom: {
    50: '#635293',
    500: '#161266',
    950: '#000000',
  },
}
SCSS
$custom: #161266;
$custom-light: #635293;
$custom-dark: #000000;
JSON
{
  "hex": "#161266",
  "rgb": {
    "r": 22,
    "g": 18,
    "b": 102
  },
  "hsl": {
    "h": 242.857,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.26391,
    "c": 0.13844,
    "h": 273.5
  },
  "luminance": 0.01562
}

Semantic roles & 50–950 ramp

primary
#161266
secondary
#999E36
accent
#ED3BE4
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #161266

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

Preview Lab → · Contrast checker → · Palette generator →

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