#18325D#18325D

#18325D is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.2% C 0.083 H 259.9°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#18325D
RGBrgb(24, 50, 93)
HSLhsl(217, 59%, 23%)
HSVhsv(217, 74%, 36%)
CMYKcmyk(74.2%, 46.2%, 0%, 63.5%)
CIE-LABlab(21.08, 6.41, -28.66)
CIE-LCHlch(21.08, 29.36, 282.62°)
OKLaboklab(32.16% -0.0146 -0.0819)
OKLCHoklch(32.16% 0.083 259.9)
XYZxyz(3.4924, 3.2653, 10.8000)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18325D #5D4318
analogous
#18545D #18325D #20185D
triadic
#18325D #5D1832 #325D18
tetradic
#18325D #5D1854 #5D4318 #185D20
square
#18325D #5D1854 #5D4318 #185D20
split-complementary
#18325D #5D2018 #545D18
monochromatic
#060D18 #0B182C #18325D #254C8E #3166BE

Accessibility & contrast

On white

12.70
#18325D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#18325D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18325D
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18325D#FFFFFF#000000##FFFFFF
##18325D1.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D365F
Deuteranopia (green-blind)
#12305C
Tritanopia (blue-blind)
#003C43
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #18325d;
/* rgb */ color: rgb(24, 50, 93);
/* oklch */ color: oklch(32.2% 0.083 259.9);
Tailwind
colors: {
  custom: {
    50: '#5e698b',
    500: '#18325d',
    950: '#000000',
  },
}
SCSS
$custom: #18325d;
$custom-light: #5e698b;
$custom-dark: #000000;
JSON
{
  "hex": "#18325d",
  "rgb": {
    "r": 24,
    "g": 50,
    "b": 93
  },
  "hsl": {
    "h": 217.391,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.32159,
    "c": 0.08316,
    "h": 259.9
  },
  "luminance": 0.03266
}

Semantic roles & 50–950 ramp

primary
#18325D
secondary
#93733D
accent
#A746E2
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #18325D

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

Preview Lab → · Contrast checker → · Palette generator →

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