#16237F#16237F

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

Color values

HEX#16237F
RGBrgb(22, 35, 127)
HSLhsl(233, 70%, 29%)
HSVhsv(233, 83%, 50%)
CMYKcmyk(82.7%, 72.4%, 0%, 50.2%)
CIE-LABlab(19.66, 30.62, -52.94)
CIE-LCHlch(19.66, 61.16, 300.05°)
OKLaboklab(31.98% -0.0034 -0.1533)
OKLCHoklch(31.98% 0.153 268.7)
XYZxyz(4.7614, 2.9044, 20.3842)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16237F #7F7216
analogous
#16587F #16237F #3D167F
triadic
#16237F #7F1623 #237F16
tetradic
#16237F #7F1658 #7F7216 #167F3D
square
#16237F #7F1658 #7F7216 #167F3D
split-complementary
#16237F #7F3D16 #587F16
monochromatic
#05071A #0D154B #16237F #1F31B3 #3448DC

Accessibility & contrast

On white

13.28
#16237F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #16237F
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16237F#FFFFFF#000000##FFFFFF
##16237F1.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003582
Deuteranopia (green-blind)
#002A7D
Tritanopia (blue-blind)
#003D4E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #16237f;
/* rgb */ color: rgb(22, 35, 127);
/* oklch */ color: oklch(32.0% 0.153 268.7);
Tailwind
colors: {
  custom: {
    50: '#685ea5',
    500: '#16237f',
    950: '#000000',
  },
}
SCSS
$custom: #16237f;
$custom-light: #685ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#16237f",
  "rgb": {
    "r": 22,
    "g": 35,
    "b": 127
  },
  "hsl": {
    "h": 232.571,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.31983,
    "c": 0.15339,
    "h": 268.7
  },
  "luminance": 0.02905
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #16237F

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

Preview Lab → · Contrast checker → · Palette generator →

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