#18325F#18325F

#18325F is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.3% C 0.086 H 260.6°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#18325F
RGBrgb(24, 50, 95)
HSLhsl(218, 60%, 23%)
HSVhsv(218, 75%, 37%)
CMYKcmyk(74.7%, 47.4%, 0%, 62.7%)
CIE-LABlab(21.21, 7.24, -29.75)
CIE-LCHlch(21.21, 30.62, 283.68°)
OKLaboklab(32.31% -0.0141 -0.0851)
OKLCHoklch(32.31% 0.086 260.6)
XYZxyz(3.5821, 3.3012, 11.2727)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18325F #5F4518
analogous
#18555F #18325F #21185F
triadic
#18325F #5F1832 #325F18
tetradic
#18325F #5F1855 #5F4518 #185F21
square
#18325F #5F1855 #5F4518 #185F21
split-complementary
#18325F #5F2118 #555F18
monochromatic
#060D18 #0C182E #18325F #244C90 #3165C1

Accessibility & contrast

On white

12.65
#18325F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18325F
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18325F#FFFFFF#000000##FFFFFF
##18325F1.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3661
Deuteranopia (green-blind)
#0F305E
Tritanopia (blue-blind)
#003C43
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #18325f;
/* rgb */ color: rgb(24, 50, 95);
/* oklch */ color: oklch(32.3% 0.086 260.6);
Tailwind
colors: {
  custom: {
    50: '#5f698d',
    500: '#18325f',
    950: '#000000',
  },
}
SCSS
$custom: #18325f;
$custom-light: #5f698d;
$custom-dark: #000000;
JSON
{
  "hex": "#18325f",
  "rgb": {
    "r": 24,
    "g": 50,
    "b": 95
  },
  "hsl": {
    "h": 218.028,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.32307,
    "c": 0.08627,
    "h": 260.6
  },
  "luminance": 0.03302
}

Semantic roles & 50–950 ramp

primary
#18325F
secondary
#95753D
accent
#A945E3
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #18325F

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

Preview Lab → · Contrast checker → · Palette generator →

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