#18328E#18328E

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

Color values

HEX#18328E
RGBrgb(24, 50, 142)
HSLhsl(227, 71%, 33%)
HSVhsv(227, 83%, 56%)
CMYKcmyk(83.1%, 64.8%, 0%, 44.3%)
CIE-LABlab(25.04, 26.51, -53.49)
CIE-LCHlch(25.04, 59.70, 296.36°)
OKLaboklab(36.39% -0.0103 -0.1548)
OKLCHoklch(36.39% 0.155 266.2)
XYZxyz(6.3981, 4.4276, 26.1034)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18328E #8E7418
analogous
#186D8E #18328E #39188E
triadic
#18328E #8E1832 #328E18
tetradic
#18328E #8E186D #8E7418 #188E39
square
#18328E #8E186D #8E7418 #188E39
split-complementary
#18328E #8E3918 #6D8E18
monochromatic
#060D25 #0F205A #18328E #2144C2 #4164DF

Accessibility & contrast

On white

11.14
#18328E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#18328E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18328E
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18328E#FFFFFF#000000##FFFFFF
##18328E1.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004191
Deuteranopia (green-blind)
#00368C
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #18328e;
/* rgb */ color: rgb(24, 50, 142);
/* oklch */ color: oklch(36.4% 0.155 266.2);
Tailwind
colors: {
  custom: {
    50: '#6b69b0',
    500: '#18328e',
    950: '#000000',
  },
}
SCSS
$custom: #18328e;
$custom-light: #6b69b0;
$custom-dark: #000000;
JSON
{
  "hex": "#18328e",
  "rgb": {
    "r": 24,
    "g": 50,
    "b": 142
  },
  "hsl": {
    "h": 226.78,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.36394,
    "c": 0.15518,
    "h": 266.2
  },
  "luminance": 0.04428
}

Semantic roles & 50–950 ramp

primary
#18328E
secondary
#C0A442
accent
#C63AEE
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80

Preview Lab

Preview with #18328E

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

Preview Lab → · Contrast checker → · Palette generator →

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