#162968#162968

#162968 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.8% C 0.113 H 266.8°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#162968
RGBrgb(22, 41, 104)
HSLhsl(226, 65%, 25%)
HSVhsv(226, 79%, 41%)
CMYKcmyk(78.8%, 60.6%, 0%, 59.2%)
CIE-LABlab(19.04, 17.23, -39.16)
CIE-LCHlch(19.04, 42.78, 293.75°)
OKLaboklab(30.85% -0.0064 -0.113)
OKLCHoklch(30.85% 0.113 266.8)
XYZxyz(3.6216, 2.7555, 13.4350)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162968 #685516
analogous
#165268 #162968 #2C1668
triadic
#162968 #681629 #296816
tetradic
#162968 #681652 #685516 #16682C
square
#162968 #681652 #685516 #16682C
split-complementary
#162968 #682C16 #526816
monochromatic
#050A19 #0B1535 #162968 #213D9B #2B51CD

Accessibility & contrast

On white

13.54
#162968 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#162968 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162968
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162968#FFFFFF#000000##FFFFFF
##1629681.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326A
Deuteranopia (green-blind)
#002B67
Tritanopia (blue-blind)
#003944
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #162968;
/* rgb */ color: rgb(22, 41, 104);
/* oklch */ color: oklch(30.8% 0.113 266.8);
Tailwind
colors: {
  custom: {
    50: '#616294',
    500: '#162968',
    950: '#000000',
  },
}
SCSS
$custom: #162968;
$custom-light: #616294;
$custom-dark: #000000;
JSON
{
  "hex": "#162968",
  "rgb": {
    "r": 22,
    "g": 41,
    "b": 104
  },
  "hsl": {
    "h": 226.098,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.30847,
    "c": 0.11316,
    "h": 266.8
  },
  "luminance": 0.02756
}

Semantic roles & 50–950 ramp

primary
#162968
secondary
#9F883B
accent
#C140E8
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#06050D
muted
#7A797E

Preview Lab

Preview with #162968

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

Preview Lab → · Contrast checker → · Palette generator →

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