#18326A#18326A

#18326A is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.2% C 0.103 H 263.2°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#18326A
RGBrgb(24, 50, 106)
HSLhsl(221, 63%, 25%)
HSVhsv(221, 77%, 42%)
CMYKcmyk(77.4%, 52.8%, 0%, 58.4%)
CIE-LABlab(22.00, 11.81, -35.65)
CIE-LCHlch(22.00, 37.56, 288.33°)
OKLaboklab(33.17% -0.0122 -0.1025)
OKLCHoklch(33.17% 0.103 263.2)
XYZxyz(4.1179, 3.5156, 14.0944)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18326A #6A5018
analogous
#185B6A #18326A #27186A
triadic
#18326A #6A1832 #326A18
tetradic
#18326A #6A185B #6A5018 #186A27
square
#18326A #6A185B #6A5018 #186A27
split-complementary
#18326A #6A2718 #5B6A18
monochromatic
#060C19 #0D1A38 #18326A #234A9C #2F61CE

Accessibility & contrast

On white

12.33
#18326A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#18326A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18326A
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18326A#FFFFFF#000000##FFFFFF
##18326A1.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11396C
Deuteranopia (green-blind)
#003169
Tritanopia (blue-blind)
#003F49
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #18326a;
/* rgb */ color: rgb(24, 50, 106);
/* oklch */ color: oklch(33.2% 0.103 263.2);
Tailwind
colors: {
  custom: {
    50: '#626995',
    500: '#18326a',
    950: '#000000',
  },
}
SCSS
$custom: #18326a;
$custom-light: #626995;
$custom-dark: #000000;
JSON
{
  "hex": "#18326a",
  "rgb": {
    "r": 24,
    "g": 50,
    "b": 106
  },
  "hsl": {
    "h": 220.976,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.33165,
    "c": 0.10319,
    "h": 263.2
  },
  "luminance": 0.03516
}

Semantic roles & 50–950 ramp

primary
#18326A
secondary
#A0813E
accent
#B242E6
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #18326A

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

Preview Lab → · Contrast checker → · Palette generator →

#18326A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva