#18325C#18325C

#18325C is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.1% C 0.082 H 259.6°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#18325C
RGBrgb(24, 50, 92)
HSLhsl(217, 59%, 23%)
HSVhsv(217, 74%, 36%)
CMYKcmyk(73.9%, 45.7%, 0%, 63.9%)
CIE-LABlab(21.01, 6.00, -28.10)
CIE-LCHlch(21.01, 28.74, 282.05°)
OKLaboklab(32.09% -0.0148 -0.0802)
OKLCHoklch(32.09% 0.082 259.6)
XYZxyz(3.4484, 3.2477, 10.5683)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18325C #5C4218
analogous
#18545C #18325C #20185C
triadic
#18325C #5C1832 #325C18
tetradic
#18325C #5C1854 #5C4218 #185C20
square
#18325C #5C1854 #5C4218 #185C20
split-complementary
#18325C #5C2018 #545C18
monochromatic
#060D18 #0B182B #18325C #254C8D #3167BD

Accessibility & contrast

On white

12.73
#18325C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18325C
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18325C#FFFFFF#000000##FFFFFF
##18325C1.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E365E
Deuteranopia (green-blind)
#13305B
Tritanopia (blue-blind)
#003C42
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #18325c;
/* rgb */ color: rgb(24, 50, 92);
/* oklch */ color: oklch(32.1% 0.082 259.6);
Tailwind
colors: {
  custom: {
    50: '#5e698a',
    500: '#18325c',
    950: '#000000',
  },
}
SCSS
$custom: #18325c;
$custom-light: #5e698a;
$custom-dark: #000000;
JSON
{
  "hex": "#18325c",
  "rgb": {
    "r": 24,
    "g": 50,
    "b": 92
  },
  "hsl": {
    "h": 217.059,
    "s": 58.621,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32086,
    "c": 0.0816,
    "h": 259.6
  },
  "luminance": 0.03248
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #18325C

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

Preview Lab → · Contrast checker → · Palette generator →

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