#18389F#18389F

#18389F is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.2% C 0.171 H 265.4°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#18389F
RGBrgb(24, 56, 159)
HSLhsl(226, 74%, 36%)
HSVhsv(226, 85%, 62%)
CMYKcmyk(84.9%, 64.8%, 0%, 37.6%)
CIE-LABlab(28.18, 29.12, -58.76)
CIE-LCHlch(28.18, 65.58, 296.36°)
OKLaboklab(39.2% -0.0137 -0.1702)
OKLCHoklch(39.2% 0.171 265.4)
XYZxyz(8.0467, 5.5248, 33.4364)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18389F #9F7F18
analogous
#187B9F #18389F #3C189F
triadic
#18389F #9F1838 #389F18
tetradic
#18389F #9F187B #9F7F18 #189F3C
square
#18389F #9F187B #9F7F18 #189F3C
split-complementary
#18389F #9F3C18 #7B9F18
monochromatic
#081335 #10256A #18389F #204BD4 #4D71E4

Accessibility & contrast

On white

9.98
#18389F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#18389F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18389F
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18389F#FFFFFF#000000##FFFFFF
##18389F1.009.982.119.98
#FFFFFF9.981.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #18389f;
/* rgb */ color: rgb(24, 56, 159);
/* oklch */ color: oklch(39.2% 0.171 265.4);
Tailwind
colors: {
  custom: {
    50: '#6f6ebc',
    500: '#18389f',
    950: '#000000',
  },
}
SCSS
$custom: #18389f;
$custom-light: #6f6ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#18389f",
  "rgb": {
    "r": 24,
    "g": 56,
    "b": 159
  },
  "hsl": {
    "h": 225.778,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39199,
    "c": 0.17074,
    "h": 265.4
  },
  "luminance": 0.05526
}

Semantic roles & 50–950 ramp

primary
#18389F
secondary
#C6A94D
accent
#C537F0
background
#F7F6FB
surface
#EDEBF7
border
#C8C6D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #18389F

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

Preview Lab → · Contrast checker → · Palette generator →

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