#18388F#18388F

#18388F is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.7% C 0.149 H 264.7°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#18388F
RGBrgb(24, 56, 143)
HSLhsl(224, 71%, 33%)
HSVhsv(224, 83%, 56%)
CMYKcmyk(83.2%, 60.8%, 0%, 43.9%)
CIE-LABlab(26.75, 22.77, -51.31)
CIE-LCHlch(26.75, 56.13, 293.93°)
OKLaboklab(37.69% -0.0138 -0.1484)
OKLCHoklch(37.69% 0.149 264.7)
XYZxyz(6.7470, 5.0049, 26.5917)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18388F #8F6F18
analogous
#18738F #18388F #34188F
triadic
#18388F #8F1838 #388F18
tetradic
#18388F #8F1873 #8F6F18 #188F34
square
#18388F #8F1873 #8F6F18 #188F34
split-complementary
#18388F #8F3418 #738F18
monochromatic
#060F26 #0F235B #18388F #214DC3 #426CDF

Accessibility & contrast

On white

10.49
#18388F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18388F
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18388F#FFFFFF#000000##FFFFFF
##18388F1.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004592
Deuteranopia (green-blind)
#003A8D
Tritanopia (blue-blind)
#004E5E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #18388f;
/* rgb */ color: rgb(24, 56, 143);
/* oklch */ color: oklch(37.7% 0.149 264.7);
Tailwind
colors: {
  custom: {
    50: '#6b6eb1',
    500: '#18388f',
    950: '#000000',
  },
}
SCSS
$custom: #18388f;
$custom-light: #6b6eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#18388f",
  "rgb": {
    "r": 24,
    "g": 56,
    "b": 143
  },
  "hsl": {
    "h": 223.866,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.37694,
    "c": 0.14902,
    "h": 264.7
  },
  "luminance": 0.05006
}

Semantic roles & 50–950 ramp

primary
#18388F
secondary
#C09E43
accent
#BE3AEE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #18388F

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

Preview Lab → · Contrast checker → · Palette generator →

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