#162265#162265

#162265 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.1% C 0.118 H 269.5°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#162265
RGBrgb(22, 34, 101)
HSLhsl(231, 64%, 24%)
HSVhsv(231, 78%, 40%)
CMYKcmyk(78.2%, 66.3%, 0%, 60.4%)
CIE-LABlab(16.77, 21.07, -40.90)
CIE-LCHlch(16.77, 46.01, 297.26°)
OKLaboklab(29.07% -0.0009 -0.1182)
OKLCHoklch(29.07% 0.118 269.5)
XYZxyz(3.2511, 2.2539, 12.5731)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162265 #655916
analogous
#164A65 #162265 #321665
triadic
#162265 #651622 #226516
tetradic
#162265 #65164A #655916 #166532
square
#162265 #65164A #655916 #166532
split-complementary
#162265 #653216 #4A6516
monochromatic
#050819 #0B1133 #162265 #213397 #2C44CA

Accessibility & contrast

On white

14.47
#162265 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#162265 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162265
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162265#FFFFFF#000000##FFFFFF
##1622651.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D67
Deuteranopia (green-blind)
#002664
Tritanopia (blue-blind)
#003340
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #162265;
/* rgb */ color: rgb(22, 34, 101);
/* oklch */ color: oklch(29.1% 0.118 269.5);
Tailwind
colors: {
  custom: {
    50: '#615c92',
    500: '#162265',
    950: '#000000',
  },
}
SCSS
$custom: #162265;
$custom-light: #615c92;
$custom-dark: #000000;
JSON
{
  "hex": "#162265",
  "rgb": {
    "r": 22,
    "g": 34,
    "b": 101
  },
  "hsl": {
    "h": 230.886,
    "s": 64.228,
    "l": 24.118
  },
  "oklch": {
    "l": 0.29074,
    "c": 0.11817,
    "h": 269.5
  },
  "luminance": 0.02254
}

Semantic roles & 50–950 ramp

primary
#162265
secondary
#9C8D3B
accent
#CE41E7
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #162265

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

Preview Lab → · Contrast checker → · Palette generator →

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