#18327C#18327C

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

Color values

HEX#18327C
RGBrgb(24, 50, 124)
HSLhsl(224, 68%, 29%)
HSVhsv(224, 81%, 49%)
CMYKcmyk(80.6%, 59.7%, 0%, 51.4%)
CIE-LABlab(23.44, 19.26, -44.84)
CIE-LCHlch(23.44, 48.80, 293.24°)
OKLaboklab(34.71% -0.0106 -0.1295)
OKLCHoklch(34.71% 0.13 265.3)
XYZxyz(5.1541, 3.9300, 19.5518)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18327C #7C6218
analogous
#18647C #18327C #30187C
triadic
#18327C #7C1832 #327C18
tetradic
#18327C #7C1864 #7C6218 #187C30
square
#18327C #7C1864 #7C6218 #187C30
split-complementary
#18327C #7C3018 #647C18
monochromatic
#050A1A #0E1D49 #18327C #2247AF #3660D8

Accessibility & contrast

On white

11.76
#18327C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18327C
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18327C#FFFFFF#000000##FFFFFF
##18327C1.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7F
Deuteranopia (green-blind)
#00337B
Tritanopia (blue-blind)
#004552
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #18327c;
/* rgb */ color: rgb(24, 50, 124);
/* oklch */ color: oklch(34.7% 0.130 265.3);
Tailwind
colors: {
  custom: {
    50: '#6669a3',
    500: '#18327c',
    950: '#000000',
  },
}
SCSS
$custom: #18327c;
$custom-light: #6669a3;
$custom-dark: #000000;
JSON
{
  "hex": "#18327c",
  "rgb": {
    "r": 24,
    "g": 50,
    "b": 124
  },
  "hsl": {
    "h": 224.4,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.34708,
    "c": 0.12989,
    "h": 265.3
  },
  "luminance": 0.03931
}

Semantic roles & 50–950 ramp

primary
#18327C
secondary
#B1933F
accent
#BD3DEA
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #18327C

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

Preview Lab → · Contrast checker → · Palette generator →

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