#18327E#18327E

#18327E is a dark, vivid blue. Relative luminance 0.040; OKLCH L 34.9% C 0.133 H 265.5°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#18327E
RGBrgb(24, 50, 126)
HSLhsl(225, 68%, 29%)
HSVhsv(225, 81%, 49%)
CMYKcmyk(81%, 60.3%, 0%, 50.6%)
CIE-LABlab(23.61, 20.08, -45.82)
CIE-LCHlch(23.61, 50.03, 293.66°)
OKLaboklab(34.89% -0.0105 -0.1324)
OKLCHoklch(34.89% 0.133 265.5)
XYZxyz(5.2819, 3.9811, 20.2247)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18327E #7E6418
analogous
#18657E #18327E #31187E
triadic
#18327E #7E1832 #327E18
tetradic
#18327E #7E1865 #7E6418 #187E31
square
#18327E #7E1865 #7E6418 #187E31
split-complementary
#18327E #7E3118 #657E18
monochromatic
#050A1A #0E1E4B #18327E #2246B1 #3761D9

Accessibility & contrast

On white

11.69
#18327E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#18327E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18327E
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18327E#FFFFFF#000000##FFFFFF
##18327E1.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D81
Deuteranopia (green-blind)
#00347D
Tritanopia (blue-blind)
#004553
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #18327e;
/* rgb */ color: rgb(24, 50, 126);
/* oklch */ color: oklch(34.9% 0.133 265.5);
Tailwind
colors: {
  custom: {
    50: '#6769a4',
    500: '#18327e',
    950: '#000000',
  },
}
SCSS
$custom: #18327e;
$custom-light: #6769a4;
$custom-dark: #000000;
JSON
{
  "hex": "#18327e",
  "rgb": {
    "r": 24,
    "g": 50,
    "b": 126
  },
  "hsl": {
    "h": 224.706,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.34889,
    "c": 0.13277,
    "h": 265.5
  },
  "luminance": 0.03982
}

Semantic roles & 50–950 ramp

primary
#18327E
secondary
#B2953F
accent
#BF3DEB
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #18327E

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

Preview Lab → · Contrast checker → · Palette generator →

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