#162965#162965

#162965 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.6% C 0.109 H 266.6°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#162965
RGBrgb(22, 41, 101)
HSLhsl(226, 64%, 24%)
HSVhsv(226, 78%, 40%)
CMYKcmyk(78.2%, 59.4%, 0%, 60.4%)
CIE-LABlab(18.78, 15.98, -37.61)
CIE-LCHlch(18.78, 40.87, 293.02°)
OKLaboklab(30.58% -0.0065 -0.1084)
OKLCHoklch(30.58% 0.109 266.6)
XYZxyz(3.4720, 2.6957, 12.6467)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162965 #655216
analogous
#165165 #162965 #2B1665
triadic
#162965 #651629 #296516
tetradic
#162965 #651651 #655216 #16652B
square
#162965 #651651 #655216 #16652B
split-complementary
#162965 #652B16 #516516
monochromatic
#050A19 #0B1533 #162965 #213D97 #2C52CA

Accessibility & contrast

On white

13.64
#162965 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162965
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162965#FFFFFF#000000##FFFFFF
##1629651.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003167
Deuteranopia (green-blind)
#002A64
Tritanopia (blue-blind)
#003842
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #162965;
/* rgb */ color: rgb(22, 41, 101);
/* oklch */ color: oklch(30.6% 0.109 266.6);
Tailwind
colors: {
  custom: {
    50: '#606291',
    500: '#162965',
    950: '#000000',
  },
}
SCSS
$custom: #162965;
$custom-light: #606291;
$custom-dark: #000000;
JSON
{
  "hex": "#162965",
  "rgb": {
    "r": 22,
    "g": 41,
    "b": 101
  },
  "hsl": {
    "h": 225.57,
    "s": 64.228,
    "l": 24.118
  },
  "oklch": {
    "l": 0.30575,
    "c": 0.10863,
    "h": 266.6
  },
  "luminance": 0.02696
}

Semantic roles & 50–950 ramp

primary
#162965
secondary
#9C843B
accent
#BF41E7
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#05050D
muted
#7A797E

Preview Lab

Preview with #162965

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

Preview Lab → · Contrast checker → · Palette generator →

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