#18379F#18379F

#18379F is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.0% C 0.172 H 265.6°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#18379F
RGBrgb(24, 55, 159)
HSLhsl(226, 74%, 36%)
HSVhsv(226, 85%, 62%)
CMYKcmyk(84.9%, 65.4%, 0%, 37.6%)
CIE-LABlab(27.92, 29.79, -59.18)
CIE-LCHlch(27.92, 66.26, 296.72°)
OKLaboklab(39.01% -0.0132 -0.1714)
OKLCHoklch(39.01% 0.172 265.6)
XYZxyz(7.9987, 5.4288, 33.4205)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18379F #9F8018
analogous
#187A9F #18379F #3C189F
triadic
#18379F #9F1837 #379F18
tetradic
#18379F #9F187A #9F8018 #189F3C
square
#18379F #9F187A #9F8018 #189F3C
split-complementary
#18379F #9F3C18 #7A9F18
monochromatic
#081235 #10256A #18379F #2049D4 #4D70E4

Accessibility & contrast

On white

10.07
#18379F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#18379F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18379F
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18379F#FFFFFF#000000##FFFFFF
##18379F1.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A2
Deuteranopia (green-blind)
#003C9D
Tritanopia (blue-blind)
#005366
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #18379f;
/* rgb */ color: rgb(24, 55, 159);
/* oklch */ color: oklch(39.0% 0.172 265.6);
Tailwind
colors: {
  custom: {
    50: '#706dbc',
    500: '#18379f',
    950: '#000000',
  },
}
SCSS
$custom: #18379f;
$custom-light: #706dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#18379f",
  "rgb": {
    "r": 24,
    "g": 55,
    "b": 159
  },
  "hsl": {
    "h": 226.222,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39009,
    "c": 0.17194,
    "h": 265.6
  },
  "luminance": 0.0543
}

Semantic roles & 50–950 ramp

primary
#18379F
secondary
#C6AA4D
accent
#C637F0
background
#F7F6FB
surface
#EDEBF7
border
#C8C6D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #18379F

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

Preview Lab → · Contrast checker → · Palette generator →

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