#18326C#18326C

#18326C is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.3% C 0.106 H 263.5°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#18326C
RGBrgb(24, 50, 108)
HSLhsl(221, 64%, 26%)
HSVhsv(221, 78%, 42%)
CMYKcmyk(77.8%, 53.7%, 0%, 57.6%)
CIE-LABlab(22.15, 12.65, -36.70)
CIE-LCHlch(22.15, 38.82, 289.01°)
OKLaboklab(33.33% -0.012 -0.1055)
OKLCHoklch(33.33% 0.106 263.5)
XYZxyz(4.2231, 3.5576, 14.6486)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18326C #6C5218
analogous
#185C6C #18326C #28186C
triadic
#18326C #6C1832 #326C18
tetradic
#18326C #6C185C #6C5218 #186C28
square
#18326C #6C185C #6C5218 #186C28
split-complementary
#18326C #6C2818 #5C6C18
monochromatic
#060C19 #0D1B3A #18326C #23499E #2E60D0

Accessibility & contrast

On white

12.27
#18326C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#18326C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18326C
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18326C#FFFFFF#000000##FFFFFF
##18326C1.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #18326c;
/* rgb */ color: rgb(24, 50, 108);
/* oklch */ color: oklch(33.3% 0.106 263.5);
Tailwind
colors: {
  custom: {
    50: '#626997',
    500: '#18326c',
    950: '#000000',
  },
}
SCSS
$custom: #18326c;
$custom-light: #626997;
$custom-dark: #000000;
JSON
{
  "hex": "#18326c",
  "rgb": {
    "r": 24,
    "g": 50,
    "b": 108
  },
  "hsl": {
    "h": 221.429,
    "s": 63.636,
    "l": 25.882
  },
  "oklch": {
    "l": 0.33329,
    "c": 0.10622,
    "h": 263.5
  },
  "luminance": 0.03558
}

Semantic roles & 50–950 ramp

primary
#18326C
secondary
#A2833E
accent
#B341E7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #18326C

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

Preview Lab → · Contrast checker → · Palette generator →

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