#18327B#18327B

#18327B is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.6% C 0.128 H 265.3°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#18327B
RGBrgb(24, 50, 123)
HSLhsl(224, 67%, 29%)
HSVhsv(224, 80%, 48%)
CMYKcmyk(80.5%, 59.3%, 0%, 51.8%)
CIE-LABlab(23.35, 18.85, -44.34)
CIE-LCHlch(23.35, 48.18, 293.03°)
OKLaboklab(34.62% -0.0106 -0.128)
OKLCHoklch(34.62% 0.128 265.3)
XYZxyz(5.0912, 3.9049, 19.2204)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18327B #7B6118
analogous
#18647B #18327B #30187B
triadic
#18327B #7B1832 #327B18
tetradic
#18327B #7B1864 #7B6118 #187B30
square
#18327B #7B1864 #7B6118 #187B30
split-complementary
#18327B #7B3018 #647B18
monochromatic
#050A1A #0E1D48 #18327B #2247AE #3660D8

Accessibility & contrast

On white

11.79
#18327B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#18327B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18327B
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18327B#FFFFFF#000000##FFFFFF
##18327B1.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7D
Deuteranopia (green-blind)
#00337A
Tritanopia (blue-blind)
#004451
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #18327b;
/* rgb */ color: rgb(24, 50, 123);
/* oklch */ color: oklch(34.6% 0.128 265.3);
Tailwind
colors: {
  custom: {
    50: '#6669a2',
    500: '#18327b',
    950: '#000000',
  },
}
SCSS
$custom: #18327b;
$custom-light: #6669a2;
$custom-dark: #000000;
JSON
{
  "hex": "#18327b",
  "rgb": {
    "r": 24,
    "g": 50,
    "b": 123
  },
  "hsl": {
    "h": 224.242,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.34618,
    "c": 0.12845,
    "h": 265.3
  },
  "luminance": 0.03905
}

Semantic roles & 50–950 ramp

primary
#18327B
secondary
#B0923F
accent
#BD3EEA
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #18327B

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

Preview Lab → · Contrast checker → · Palette generator →

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