#18328A#18328A

#18328A is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.0% C 0.150 H 266.1°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#18328A
RGBrgb(24, 50, 138)
HSLhsl(226, 70%, 32%)
HSVhsv(226, 83%, 54%)
CMYKcmyk(82.6%, 63.8%, 0%, 45.9%)
CIE-LABlab(24.67, 24.92, -51.61)
CIE-LCHlch(24.67, 57.31, 295.77°)
OKLaboklab(36.01% -0.0103 -0.1493)
OKLCHoklch(36.01% 0.15 266.1)
XYZxyz(6.1031, 4.3097, 24.5500)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18328A #8A7018
analogous
#186B8A #18328A #37188A
triadic
#18328A #8A1832 #328A18
tetradic
#18328A #8A186B #8A7018 #188A37
square
#18328A #8A186B #8A7018 #188A37
split-complementary
#18328A #8A3718 #6B8A18
monochromatic
#060C22 #0F1F56 #18328A #2145BE #3F63DE

Accessibility & contrast

On white

11.28
#18328A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#18328A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18328A
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18328A#FFFFFF#000000##FFFFFF
##18328A1.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408D
Deuteranopia (green-blind)
#003588
Tritanopia (blue-blind)
#004959
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #18328a;
/* rgb */ color: rgb(24, 50, 138);
/* oklch */ color: oklch(36.0% 0.150 266.1);
Tailwind
colors: {
  custom: {
    50: '#6a69ad',
    500: '#18328a',
    950: '#000000',
  },
}
SCSS
$custom: #18328a;
$custom-light: #6a69ad;
$custom-dark: #000000;
JSON
{
  "hex": "#18328a",
  "rgb": {
    "r": 24,
    "g": 50,
    "b": 138
  },
  "hsl": {
    "h": 226.316,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36008,
    "c": 0.14968,
    "h": 266.1
  },
  "luminance": 0.0431
}

Semantic roles & 50–950 ramp

primary
#18328A
secondary
#BDA140
accent
#C43BED
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #18328A

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

Preview Lab → · Contrast checker → · Palette generator →

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