#18325E#18325E

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

Color values

HEX#18325E
RGBrgb(24, 50, 94)
HSLhsl(218, 59%, 23%)
HSVhsv(218, 74%, 37%)
CMYKcmyk(74.5%, 46.8%, 0%, 63.1%)
CIE-LABlab(21.14, 6.82, -29.20)
CIE-LCHlch(21.14, 29.99, 283.15°)
OKLaboklab(32.23% -0.0143 -0.0835)
OKLCHoklch(32.23% 0.085 260.2)
XYZxyz(3.5369, 3.2832, 11.0348)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18325E #5E4418
analogous
#18555E #18325E #21185E
triadic
#18325E #5E1832 #325E18
tetradic
#18325E #5E1855 #5E4418 #185E21
square
#18325E #5E1855 #5E4418 #185E21
split-complementary
#18325E #5E2118 #555E18
monochromatic
#060D18 #0C182D #18325E #244C8F #3166C0

Accessibility & contrast

On white

12.68
#18325E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#18325E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18325E
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18325E#FFFFFF#000000##FFFFFF
##18325E1.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3660
Deuteranopia (green-blind)
#10305D
Tritanopia (blue-blind)
#003C43
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #18325e;
/* rgb */ color: rgb(24, 50, 94);
/* oklch */ color: oklch(32.2% 0.085 260.2);
Tailwind
colors: {
  custom: {
    50: '#5f698c',
    500: '#18325e',
    950: '#000000',
  },
}
SCSS
$custom: #18325e;
$custom-light: #5f698c;
$custom-dark: #000000;
JSON
{
  "hex": "#18325e",
  "rgb": {
    "r": 24,
    "g": 50,
    "b": 94
  },
  "hsl": {
    "h": 217.714,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.32233,
    "c": 0.08471,
    "h": 260.2
  },
  "luminance": 0.03284
}

Semantic roles & 50–950 ramp

primary
#18325E
secondary
#94743D
accent
#A845E3
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #18325E

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

Preview Lab → · Contrast checker → · Palette generator →

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