#18319F#18319F

#18319F is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.9% C 0.179 H 266.6°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#18319F
RGBrgb(24, 49, 159)
HSLhsl(229, 74%, 36%)
HSVhsv(229, 85%, 62%)
CMYKcmyk(84.9%, 69.2%, 0%, 37.6%)
CIE-LABlab(26.43, 33.76, -61.64)
CIE-LCHlch(26.43, 70.28, 298.71°)
OKLaboklab(37.91% -0.0105 -0.1786)
OKLCHoklch(37.91% 0.179 266.6)
XYZxyz(7.7308, 4.8931, 33.3312)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18319F #9F8618
analogous
#18749F #18319F #42189F
triadic
#18319F #9F1831 #319F18
tetradic
#18319F #9F1874 #9F8618 #189F42
square
#18319F #9F1874 #9F8618 #189F42
split-complementary
#18319F #9F4218 #749F18
monochromatic
#081035 #10216A #18319F #2041D4 #4D69E4

Accessibility & contrast

On white

10.61
#18319F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#18319F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18319F
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18319F#FFFFFF#000000##FFFFFF
##18319F1.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#00389D
Tritanopia (blue-blind)
#004F64
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #18319f;
/* rgb */ color: rgb(24, 49, 159);
/* oklch */ color: oklch(37.9% 0.179 266.6);
Tailwind
colors: {
  custom: {
    50: '#7069bc',
    500: '#18319f',
    950: '#000000',
  },
}
SCSS
$custom: #18319f;
$custom-light: #7069bc;
$custom-dark: #000000;
JSON
{
  "hex": "#18319f",
  "rgb": {
    "r": 24,
    "g": 49,
    "b": 159
  },
  "hsl": {
    "h": 228.889,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37914,
    "c": 0.17896,
    "h": 266.6
  },
  "luminance": 0.04894
}

Semantic roles & 50–950 ramp

primary
#18319F
secondary
#C6B04D
accent
#CE37F0
background
#F7F6FB
surface
#EDEBF7
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #18319F

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

Preview Lab → · Contrast checker → · Palette generator →

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