#162274#162274

#162274 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.6% C 0.140 H 269.2°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#162274
RGBrgb(22, 34, 116)
HSLhsl(232, 68%, 27%)
HSVhsv(232, 81%, 45%)
CMYKcmyk(81%, 70.7%, 0%, 54.5%)
CIE-LABlab(18.25, 27.05, -48.22)
CIE-LCHlch(18.25, 55.29, 299.29°)
OKLaboklab(30.62% -0.0019 -0.1396)
OKLCHoklch(30.62% 0.14 269.2)
XYZxyz(4.0542, 2.5751, 16.8030)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162274 #746816
analogous
#165174 #162274 #391674
triadic
#162274 #741622 #227416
tetradic
#162274 #741651 #746816 #167439
square
#162274 #741651 #746816 #167439
split-complementary
#162274 #743916 #517416
monochromatic
#05081A #0C1341 #162274 #2031A7 #2D43D7

Accessibility & contrast

On white

13.86
#162274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#162274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162274
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162274#FFFFFF#000000##FFFFFF
##1622741.0013.861.5213.86
#FFFFFF13.861.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003177
Deuteranopia (green-blind)
#002872
Tritanopia (blue-blind)
#003848
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #162274;
/* rgb */ color: rgb(22, 34, 116);
/* oklch */ color: oklch(30.6% 0.140 269.2);
Tailwind
colors: {
  custom: {
    50: '#655d9d',
    500: '#162274',
    950: '#000000',
  },
}
SCSS
$custom: #162274;
$custom-light: #655d9d;
$custom-dark: #000000;
JSON
{
  "hex": "#162274",
  "rgb": {
    "r": 22,
    "g": 34,
    "b": 116
  },
  "hsl": {
    "h": 232.34,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.30619,
    "c": 0.1396,
    "h": 269.2
  },
  "luminance": 0.02576
}

Semantic roles & 50–950 ramp

primary
#162274
secondary
#AA9C3C
accent
#D53DEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #162274

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

Preview Lab → · Contrast checker → · Palette generator →

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