#18328D#18328D

#18328D is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.3% C 0.154 H 266.2°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#18328D
RGBrgb(24, 50, 141)
HSLhsl(227, 71%, 32%)
HSVhsv(227, 83%, 55%)
CMYKcmyk(83%, 64.5%, 0%, 44.7%)
CIE-LABlab(24.94, 26.11, -53.02)
CIE-LCHlch(24.94, 59.10, 296.22°)
OKLaboklab(36.3% -0.0103 -0.1535)
OKLCHoklch(36.3% 0.154 266.2)
XYZxyz(6.3233, 4.3977, 25.7097)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18328D #8D7318
analogous
#186C8D #18328D #39188D
triadic
#18328D #8D1832 #328D18
tetradic
#18328D #8D186C #8D7318 #188D39
square
#18328D #8D186C #8D7318 #188D39
split-complementary
#18328D #8D3918 #6C8D18
monochromatic
#060D24 #0F1F59 #18328D #2145C1 #4164DF

Accessibility & contrast

On white

11.17
#18328D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#18328D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18328D
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18328D#FFFFFF#000000##FFFFFF
##18328D1.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#00368B
Tritanopia (blue-blind)
#004A5A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #18328d;
/* rgb */ color: rgb(24, 50, 141);
/* oklch */ color: oklch(36.3% 0.154 266.2);
Tailwind
colors: {
  custom: {
    50: '#6b69af',
    500: '#18328d',
    950: '#000000',
  },
}
SCSS
$custom: #18328d;
$custom-light: #6b69af;
$custom-dark: #000000;
JSON
{
  "hex": "#18328d",
  "rgb": {
    "r": 24,
    "g": 50,
    "b": 141
  },
  "hsl": {
    "h": 226.667,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.36297,
    "c": 0.15381,
    "h": 266.2
  },
  "luminance": 0.04398
}

Semantic roles & 50–950 ramp

primary
#18328D
secondary
#BFA342
accent
#C63AEE
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #18328D

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

Preview Lab → · Contrast checker → · Palette generator →

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