#161262#161262

#161262 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 25.9% C 0.133 H 274.1°. Best body text is #FFFFFF at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#161262
RGBrgb(22, 18, 98)
HSLhsl(243, 69%, 23%)
HSVhsv(243, 82%, 38%)
CMYKcmyk(77.6%, 81.6%, 0%, 61.6%)
CIE-LABlab(12.51, 30.63, -45.91)
CIE-LCHlch(12.51, 55.19, 303.71°)
OKLaboklab(25.91% 0.0095 -0.1328)
OKLCHoklch(25.91% 0.133 274.1)
XYZxyz(2.7511, 1.4848, 11.6945)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161262 #5E6212
analogous
#123662 #161262 #3E1262
triadic
#161262 #621612 #126216
tetradic
#161262 #621236 #5E6212 #12623E
square
#161262 #621236 #5E6212 #12623E
split-complementary
#161262 #623E12 #366212
monochromatic
#06051A #0A092E #161262 #221B96 #2D25C9

Accessibility & contrast

On white

16.19
#161262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#161262 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161262
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161262#FFFFFF#000000##FFFFFF
##1612621.0016.191.3016.19
#FFFFFF16.191.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002464
Deuteranopia (green-blind)
#001D61
Tritanopia (blue-blind)
#002A39
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #161262;
/* rgb */ color: rgb(22, 18, 98);
/* oklch */ color: oklch(25.9% 0.133 274.1);
Tailwind
colors: {
  custom: {
    50: '#625190',
    500: '#161262',
    950: '#000000',
  },
}
SCSS
$custom: #161262;
$custom-light: #625190;
$custom-dark: #000000;
JSON
{
  "hex": "#161262",
  "rgb": {
    "r": 22,
    "g": 18,
    "b": 98
  },
  "hsl": {
    "h": 243,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.25905,
    "c": 0.13315,
    "h": 274.1
  },
  "luminance": 0.01485
}

Semantic roles & 50–950 ramp

primary
#161262
secondary
#959A36
accent
#EC3CE3
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020D
muted
#7A787D

Preview Lab

Preview with #161262

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

Preview Lab → · Contrast checker → · Palette generator →

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