#162883#162883

#162883 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.3% C 0.153 H 267.7°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#162883
RGBrgb(22, 40, 131)
HSLhsl(230, 71%, 30%)
HSVhsv(230, 83%, 51%)
CMYKcmyk(83.2%, 69.5%, 0%, 48.6%)
CIE-LABlab(21.31, 28.83, -52.75)
CIE-LCHlch(21.31, 60.11, 298.66°)
OKLaboklab(33.31% -0.0062 -0.1528)
OKLCHoklch(33.31% 0.153 267.7)
XYZxyz(5.1850, 3.3262, 21.8371)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162883 #837116
analogous
#165E83 #162883 #3B1683
triadic
#162883 #831628 #288316
tetradic
#162883 #83165E #837116 #16833B
square
#162883 #83165E #837116 #16833B
split-complementary
#162883 #833B16 #5E8316
monochromatic
#04081A #0D184F #162883 #1F38B7 #3652DD

Accessibility & contrast

On white

12.61
#162883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#162883 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162883
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162883#FFFFFF#000000##FFFFFF
##1628831.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003886
Deuteranopia (green-blind)
#002E81
Tritanopia (blue-blind)
#004152
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #162883;
/* rgb */ color: rgb(22, 40, 131);
/* oklch */ color: oklch(33.3% 0.153 267.7);
Tailwind
colors: {
  custom: {
    50: '#6962a8',
    500: '#162883',
    950: '#000000',
  },
}
SCSS
$custom: #162883;
$custom-light: #6962a8;
$custom-dark: #000000;
JSON
{
  "hex": "#162883",
  "rgb": {
    "r": 22,
    "g": 40,
    "b": 131
  },
  "hsl": {
    "h": 230.092,
    "s": 71.242,
    "l": 30
  },
  "oklch": {
    "l": 0.33306,
    "c": 0.15292,
    "h": 267.7
  },
  "luminance": 0.03327
}

Semantic roles & 50–950 ramp

primary
#162883
secondary
#B7A33D
accent
#D03AEE
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#070510
muted
#7A797F

Preview Lab

Preview with #162883

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

Preview Lab → · Contrast checker → · Palette generator →

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