#18328F#18328F

#18328F is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.5% C 0.157 H 266.2°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#18328F
RGBrgb(24, 50, 143)
HSLhsl(227, 71%, 33%)
HSVhsv(227, 83%, 56%)
CMYKcmyk(83.2%, 65%, 0%, 43.9%)
CIE-LABlab(25.13, 26.90, -53.96)
CIE-LCHlch(25.13, 60.29, 296.50°)
OKLaboklab(36.49% -0.0103 -0.1562)
OKLCHoklch(36.49% 0.157 266.2)
XYZxyz(6.4735, 4.4578, 26.5005)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18328F #8F7518
analogous
#186D8F #18328F #3A188F
triadic
#18328F #8F1832 #328F18
tetradic
#18328F #8F186D #8F7518 #188F3A
square
#18328F #8F186D #8F7518 #188F3A
split-complementary
#18328F #8F3A18 #6D8F18
monochromatic
#060D26 #0F205B #18328F #2144C3 #4264DF

Accessibility & contrast

On white

11.10
#18328F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18328F
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18328F#FFFFFF#000000##FFFFFF
##18328F1.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#00368D
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #18328f;
/* rgb */ color: rgb(24, 50, 143);
/* oklch */ color: oklch(36.5% 0.157 266.2);
Tailwind
colors: {
  custom: {
    50: '#6c69b1',
    500: '#18328f',
    950: '#000000',
  },
}
SCSS
$custom: #18328f;
$custom-light: #6c69b1;
$custom-dark: #000000;
JSON
{
  "hex": "#18328f",
  "rgb": {
    "r": 24,
    "g": 50,
    "b": 143
  },
  "hsl": {
    "h": 226.891,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.36491,
    "c": 0.15654,
    "h": 266.2
  },
  "luminance": 0.04459
}

Semantic roles & 50–950 ramp

primary
#18328F
secondary
#C0A543
accent
#C73AEE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #18328F

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

Preview Lab → · Contrast checker → · Palette generator →

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