#162279#162279

#162279 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.2% C 0.146 H 269.1°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#162279
RGBrgb(22, 34, 121)
HSLhsl(233, 69%, 28%)
HSVhsv(233, 82%, 47%)
CMYKcmyk(81.8%, 71.9%, 0%, 52.5%)
CIE-LABlab(18.78, 28.99, -50.57)
CIE-LCHlch(18.78, 58.29, 299.83°)
OKLaboklab(31.16% -0.0023 -0.1464)
OKLCHoklch(31.16% 0.146 269.1)
XYZxyz(4.3529, 2.6946, 18.3761)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162279 #796D16
analogous
#165379 #162279 #3B1679
triadic
#162279 #791622 #227916
tetradic
#162279 #791653 #796D16 #16793B
square
#162279 #791653 #796D16 #16793B
split-complementary
#162279 #793B16 #537916
monochromatic
#05071A #0D1345 #162279 #1F31AD #3045D9

Accessibility & contrast

On white

13.65
#162279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#162279 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162279
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162279#FFFFFF#000000##FFFFFF
##1622791.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327C
Deuteranopia (green-blind)
#002977
Tritanopia (blue-blind)
#003A4A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #162279;
/* rgb */ color: rgb(22, 34, 121);
/* oklch */ color: oklch(31.2% 0.146 269.1);
Tailwind
colors: {
  custom: {
    50: '#665da1',
    500: '#162279',
    950: '#000000',
  },
}
SCSS
$custom: #162279;
$custom-light: #665da1;
$custom-dark: #000000;
JSON
{
  "hex": "#162279",
  "rgb": {
    "r": 22,
    "g": 34,
    "b": 121
  },
  "hsl": {
    "h": 232.727,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.31155,
    "c": 0.14646,
    "h": 269.1
  },
  "luminance": 0.02695
}

Semantic roles & 50–950 ramp

primary
#162279
secondary
#AEA13D
accent
#D73CEC
background
#F6F5FA
surface
#EBE9F3
border
#C6C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #162279

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

Preview Lab → · Contrast checker → · Palette generator →

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