#162676#162676

#162676 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.6% C 0.137 H 268.2°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#162676
RGBrgb(22, 38, 118)
HSLhsl(230, 69%, 27%)
HSVhsv(230, 81%, 46%)
CMYKcmyk(81.4%, 67.8%, 0%, 53.7%)
CIE-LABlab(19.49, 25.08, -47.47)
CIE-LCHlch(19.49, 53.69, 297.85°)
OKLaboklab(31.58% -0.0043 -0.1374)
OKLCHoklch(31.58% 0.137 268.2)
XYZxyz(4.2929, 2.8643, 17.4626)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162676 #766616
analogous
#165676 #162676 #361676
triadic
#162676 #761626 #267616
tetradic
#162676 #761656 #766616 #167636
square
#162676 #761656 #766616 #167636
split-complementary
#162676 #763616 #567616
monochromatic
#05081A #0C1542 #162676 #2037AA #2E4BD8

Accessibility & contrast

On white

13.35
#162676 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#162676 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162676
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162676#FFFFFF#000000##FFFFFF
##1626761.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003479
Deuteranopia (green-blind)
#002B75
Tritanopia (blue-blind)
#003B4A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #162676;
/* rgb */ color: rgb(22, 38, 118);
/* oklch */ color: oklch(31.6% 0.137 268.2);
Tailwind
colors: {
  custom: {
    50: '#65609e',
    500: '#162676',
    950: '#000000',
  },
}
SCSS
$custom: #162676;
$custom-light: #65609e;
$custom-dark: #000000;
JSON
{
  "hex": "#162676",
  "rgb": {
    "r": 22,
    "g": 38,
    "b": 118
  },
  "hsl": {
    "h": 230,
    "s": 68.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.31584,
    "c": 0.13745,
    "h": 268.2
  },
  "luminance": 0.02865
}

Semantic roles & 50–950 ramp

primary
#162676
secondary
#AC993C
accent
#CE3CEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #162676

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

Preview Lab → · Contrast checker → · Palette generator →

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