#18327A#18327A

#18327A is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.5% C 0.127 H 265.2°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#18327A
RGBrgb(24, 50, 122)
HSLhsl(224, 67%, 29%)
HSVhsv(224, 80%, 48%)
CMYKcmyk(80.3%, 59%, 0%, 52.2%)
CIE-LABlab(23.27, 18.44, -43.84)
CIE-LCHlch(23.27, 47.56, 292.81°)
OKLaboklab(34.53% -0.0107 -0.1265)
OKLCHoklch(34.53% 0.127 265.2)
XYZxyz(5.0289, 3.8800, 18.8924)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18327A #7A6018
analogous
#18637A #18327A #2F187A
triadic
#18327A #7A1832 #327A18
tetradic
#18327A #7A1863 #7A6018 #187A2F
square
#18327A #7A1863 #7A6018 #187A2F
split-complementary
#18327A #7A2F18 #637A18
monochromatic
#050A1A #0E1D47 #18327A #2247AD #3560D7

Accessibility & contrast

On white

11.82
#18327A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18327A
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18327A#FFFFFF#000000##FFFFFF
##18327A1.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7C
Deuteranopia (green-blind)
#003379
Tritanopia (blue-blind)
#004450
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #18327a;
/* rgb */ color: rgb(24, 50, 122);
/* oklch */ color: oklch(34.5% 0.127 265.2);
Tailwind
colors: {
  custom: {
    50: '#6669a1',
    500: '#18327a',
    950: '#000000',
  },
}
SCSS
$custom: #18327a;
$custom-light: #6669a1;
$custom-dark: #000000;
JSON
{
  "hex": "#18327a",
  "rgb": {
    "r": 24,
    "g": 50,
    "b": 122
  },
  "hsl": {
    "h": 224.082,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.34529,
    "c": 0.12699,
    "h": 265.2
  },
  "luminance": 0.03881
}

Semantic roles & 50–950 ramp

primary
#18327A
secondary
#AF913F
accent
#BC3EEA
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #18327A

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

Preview Lab → · Contrast checker → · Palette generator →

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