#16235E#16235E

#16235E is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.6% C 0.106 H 269.1°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#16235E
RGBrgb(22, 35, 94)
HSLhsl(229, 62%, 23%)
HSVhsv(229, 77%, 37%)
CMYKcmyk(76.6%, 62.8%, 0%, 63.1%)
CIE-LABlab(16.41, 17.47, -36.86)
CIE-LCHlch(16.41, 40.79, 295.37°)
OKLaboklab(28.61% -0.0017 -0.1063)
OKLCHoklch(28.61% 0.106 269.1)
XYZxyz(2.9516, 2.1805, 10.8528)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16235E #5E5116
analogous
#16475E #16235E #2D165E
triadic
#16235E #5E1623 #235E16
tetradic
#16235E #5E1647 #5E5116 #165E2D
square
#16235E #5E1647 #5E5116 #165E2D
split-complementary
#16235E #5E2D16 #475E16
monochromatic
#060919 #0A112C #16235E #223590 #2D48C1

Accessibility & contrast

On white

14.62
#16235E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#16235E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16235E
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16235E#FFFFFF#000000##FFFFFF
##16235E1.0014.621.4414.62
#FFFFFF14.621.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C60
Deuteranopia (green-blind)
#00255D
Tritanopia (blue-blind)
#00323C
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #16235e;
/* rgb */ color: rgb(22, 35, 94);
/* oklch */ color: oklch(28.6% 0.106 269.1);
Tailwind
colors: {
  custom: {
    50: '#5f5d8c',
    500: '#16235e',
    950: '#000000',
  },
}
SCSS
$custom: #16235e;
$custom-light: #5f5d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#16235e",
  "rgb": {
    "r": 22,
    "g": 35,
    "b": 94
  },
  "hsl": {
    "h": 229.167,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.28607,
    "c": 0.10631,
    "h": 269.1
  },
  "luminance": 0.02181
}

Semantic roles & 50–950 ramp

primary
#16235E
secondary
#95853B
accent
#C843E5
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #16235E

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

Preview Lab → · Contrast checker → · Palette generator →

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