#16237E#16237E

#16237E is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.9% C 0.152 H 268.7°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#16237E
RGBrgb(22, 35, 126)
HSLhsl(233, 70%, 29%)
HSVhsv(233, 83%, 49%)
CMYKcmyk(82.5%, 72.2%, 0%, 50.6%)
CIE-LABlab(19.55, 30.24, -52.48)
CIE-LCHlch(19.55, 60.57, 299.95°)
OKLaboklab(31.87% -0.0033 -0.152)
OKLCHoklch(31.87% 0.152 268.7)
XYZxyz(4.6965, 2.8785, 20.0427)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16237E #7E7116
analogous
#16577E #16237E #3D167E
triadic
#16237E #7E1623 #237E16
tetradic
#16237E #7E1657 #7E7116 #167E3D
square
#16237E #7E1657 #7E7116 #167E3D
split-complementary
#16237E #7E3D16 #577E16
monochromatic
#05071A #0D154A #16237E #1F31B2 #3348DB

Accessibility & contrast

On white

13.33
#16237E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#16237E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16237E
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16237E#FFFFFF#000000##FFFFFF
##16237E1.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003481
Deuteranopia (green-blind)
#002A7C
Tritanopia (blue-blind)
#003C4D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #16237e;
/* rgb */ color: rgb(22, 35, 126);
/* oklch */ color: oklch(31.9% 0.152 268.7);
Tailwind
colors: {
  custom: {
    50: '#685ea4',
    500: '#16237e',
    950: '#000000',
  },
}
SCSS
$custom: #16237e;
$custom-light: #685ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#16237e",
  "rgb": {
    "r": 22,
    "g": 35,
    "b": 126
  },
  "hsl": {
    "h": 232.5,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.31874,
    "c": 0.15205,
    "h": 268.7
  },
  "luminance": 0.02879
}

Semantic roles & 50–950 ramp

primary
#16237E
secondary
#B3A43D
accent
#D73BED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #16237E

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

Preview Lab → · Contrast checker → · Palette generator →

#16237E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva