#18326D#18326D

#18326D is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.4% C 0.108 H 263.7°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#18326D
RGBrgb(24, 50, 109)
HSLhsl(222, 64%, 26%)
HSVhsv(222, 78%, 43%)
CMYKcmyk(78%, 54.1%, 0%, 57.3%)
CIE-LABlab(22.23, 13.06, -37.22)
CIE-LCHlch(22.23, 39.45, 289.34°)
OKLaboklab(33.41% -0.0118 -0.1071)
OKLCHoklch(33.41% 0.108 263.7)
XYZxyz(4.2766, 3.5791, 14.9305)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18326D #6D5318
analogous
#185C6D #18326D #28186D
triadic
#18326D #6D1832 #326D18
tetradic
#18326D #6D185C #6D5318 #186D28
square
#18326D #6D185C #6D5318 #186D28
split-complementary
#18326D #6D2818 #5C6D18
monochromatic
#060C19 #0D1B3B #18326D #23499F #2E60D1

Accessibility & contrast

On white

12.24
#18326D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#18326D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18326D
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18326D#FFFFFF#000000##FFFFFF
##18326D1.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C396F
Deuteranopia (green-blind)
#00316C
Tritanopia (blue-blind)
#00404A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #18326d;
/* rgb */ color: rgb(24, 50, 109);
/* oklch */ color: oklch(33.4% 0.108 263.7);
Tailwind
colors: {
  custom: {
    50: '#626997',
    500: '#18326d',
    950: '#000000',
  },
}
SCSS
$custom: #18326d;
$custom-light: #626997;
$custom-dark: #000000;
JSON
{
  "hex": "#18326d",
  "rgb": {
    "r": 24,
    "g": 50,
    "b": 109
  },
  "hsl": {
    "h": 221.647,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.33411,
    "c": 0.10773,
    "h": 263.7
  },
  "luminance": 0.0358
}

Semantic roles & 50–950 ramp

primary
#18326D
secondary
#A3843E
accent
#B441E7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #18326D

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

Preview Lab → · Contrast checker → · Palette generator →

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