#18329F#18329F

#18329F is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.1% C 0.178 H 266.5°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#18329F
RGBrgb(24, 50, 159)
HSLhsl(228, 74%, 36%)
HSVhsv(228, 85%, 62%)
CMYKcmyk(84.9%, 68.6%, 0%, 37.6%)
CIE-LABlab(26.67, 33.10, -61.24)
CIE-LCHlch(26.67, 69.61, 298.39°)
OKLaboklab(38.09% -0.0109 -0.1775)
OKLCHoklch(38.09% 0.178 266.5)
XYZxyz(7.7731, 4.9776, 33.3453)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18329F #9F8518
analogous
#18759F #18329F #41189F
triadic
#18329F #9F1832 #329F18
tetradic
#18329F #9F1875 #9F8518 #189F41
square
#18329F #9F1875 #9F8518 #189F41
split-complementary
#18329F #9F4118 #759F18
monochromatic
#081135 #10216A #18329F #2043D4 #4D6AE4

Accessibility & contrast

On white

10.52
#18329F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#18329F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18329F
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18329F#FFFFFF#000000##FFFFFF
##18329F1.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#00399D
Tritanopia (blue-blind)
#005064
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #18329f;
/* rgb */ color: rgb(24, 50, 159);
/* oklch */ color: oklch(38.1% 0.178 266.5);
Tailwind
colors: {
  custom: {
    50: '#706abc',
    500: '#18329f',
    950: '#000000',
  },
}
SCSS
$custom: #18329f;
$custom-light: #706abc;
$custom-dark: #000000;
JSON
{
  "hex": "#18329f",
  "rgb": {
    "r": 24,
    "g": 50,
    "b": 159
  },
  "hsl": {
    "h": 228.444,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38091,
    "c": 0.17782,
    "h": 266.5
  },
  "luminance": 0.04979
}

Semantic roles & 50–950 ramp

primary
#18329F
secondary
#C6AF4D
accent
#CD37F0
background
#F7F6FB
surface
#EDEBF7
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #18329F

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

Preview Lab → · Contrast checker → · Palette generator →

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