#18327D#18327D

#18327D is a dark, vivid blue. Relative luminance 0.040; OKLCH L 34.8% C 0.131 H 265.4°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#18327D
RGBrgb(24, 50, 125)
HSLhsl(225, 68%, 29%)
HSVhsv(225, 81%, 49%)
CMYKcmyk(80.8%, 60%, 0%, 51%)
CIE-LABlab(23.52, 19.67, -45.33)
CIE-LCHlch(23.52, 49.41, 293.45°)
OKLaboklab(34.8% -0.0105 -0.1309)
OKLCHoklch(34.8% 0.131 265.4)
XYZxyz(5.2177, 3.9555, 19.8866)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18327D #7D6318
analogous
#18657D #18327D #30187D
triadic
#18327D #7D1832 #327D18
tetradic
#18327D #7D1865 #7D6318 #187D30
square
#18327D #7D1865 #7D6318 #187D30
split-complementary
#18327D #7D3018 #657D18
monochromatic
#050A1A #0E1D4A #18327D #2247B0 #3760D9

Accessibility & contrast

On white

11.72
#18327D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#18327D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18327D
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18327D#FFFFFF#000000##FFFFFF
##18327D1.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D80
Deuteranopia (green-blind)
#00347C
Tritanopia (blue-blind)
#004552
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #18327d;
/* rgb */ color: rgb(24, 50, 125);
/* oklch */ color: oklch(34.8% 0.131 265.4);
Tailwind
colors: {
  custom: {
    50: '#6769a3',
    500: '#18327d',
    950: '#000000',
  },
}
SCSS
$custom: #18327d;
$custom-light: #6769a3;
$custom-dark: #000000;
JSON
{
  "hex": "#18327d",
  "rgb": {
    "r": 24,
    "g": 50,
    "b": 125
  },
  "hsl": {
    "h": 224.554,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34798,
    "c": 0.13133,
    "h": 265.4
  },
  "luminance": 0.03956
}

Semantic roles & 50–950 ramp

primary
#18327D
secondary
#B2943F
accent
#BE3DEB
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #18327D

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

Preview Lab → · Contrast checker → · Palette generator →

#18327D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva