#16245E#16245E

#16245E is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.8% C 0.105 H 268.6°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#16245E
RGBrgb(22, 36, 94)
HSLhsl(228, 62%, 23%)
HSVhsv(228, 77%, 37%)
CMYKcmyk(76.6%, 61.7%, 0%, 63.1%)
CIE-LABlab(16.70, 16.74, -36.38)
CIE-LCHlch(16.70, 40.04, 294.71°)
OKLaboklab(28.83% -0.0026 -0.1049)
OKLCHoklch(28.83% 0.105 268.6)
XYZxyz(2.9814, 2.2402, 10.8628)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16245E #5E5016
analogous
#16485E #16245E #2C165E
triadic
#16245E #5E1624 #245E16
tetradic
#16245E #5E1648 #5E5016 #165E2C
square
#16245E #5E1648 #5E5016 #165E2C
split-complementary
#16245E #5E2C16 #485E16
monochromatic
#060919 #0A112C #16245E #223790 #2D4AC1

Accessibility & contrast

On white

14.50
#16245E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#16245E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16245E
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16245E#FFFFFF#000000##FFFFFF
##16245E1.0014.501.4514.50
#FFFFFF14.501.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D60
Deuteranopia (green-blind)
#00265D
Tritanopia (blue-blind)
#00323D
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #16245e;
/* rgb */ color: rgb(22, 36, 94);
/* oklch */ color: oklch(28.8% 0.105 268.6);
Tailwind
colors: {
  custom: {
    50: '#5f5e8c',
    500: '#16245e',
    950: '#000000',
  },
}
SCSS
$custom: #16245e;
$custom-light: #5f5e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#16245e",
  "rgb": {
    "r": 22,
    "g": 36,
    "b": 94
  },
  "hsl": {
    "h": 228.333,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.28826,
    "c": 0.10492,
    "h": 268.6
  },
  "luminance": 0.0224
}

Semantic roles & 50–950 ramp

primary
#16245E
secondary
#95833B
accent
#C643E5
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #16245E

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

Preview Lab → · Contrast checker → · Palette generator →

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