#18388A#18388A

#18388A is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.2% C 0.142 H 264.3°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#18388A
RGBrgb(24, 56, 138)
HSLhsl(223, 70%, 32%)
HSVhsv(223, 83%, 54%)
CMYKcmyk(82.6%, 59.4%, 0%, 45.9%)
CIE-LABlab(26.32, 20.74, -48.91)
CIE-LCHlch(26.32, 53.13, 292.98°)
OKLaboklab(37.24% -0.0141 -0.1413)
OKLCHoklch(37.24% 0.142 264.3)
XYZxyz(6.3767, 4.8568, 24.6412)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18388A #8A6A18
analogous
#18718A #18388A #31188A
triadic
#18388A #8A1838 #388A18
tetradic
#18388A #8A1871 #8A6A18 #188A31
square
#18388A #8A1871 #8A6A18 #188A31
split-complementary
#18388A #8A3118 #718A18
monochromatic
#060E22 #0F2356 #18388A #214DBE #3F6BDE

Accessibility & contrast

On white

10.65
#18388A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#18388A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18388A
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18388A#FFFFFF#000000##FFFFFF
##18388A1.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448D
Deuteranopia (green-blind)
#003988
Tritanopia (blue-blind)
#004D5B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #18388a;
/* rgb */ color: rgb(24, 56, 138);
/* oklch */ color: oklch(37.2% 0.142 264.3);
Tailwind
colors: {
  custom: {
    50: '#6a6ead',
    500: '#18388a',
    950: '#000000',
  },
}
SCSS
$custom: #18388a;
$custom-light: #6a6ead;
$custom-dark: #000000;
JSON
{
  "hex": "#18388a",
  "rgb": {
    "r": 24,
    "g": 56,
    "b": 138
  },
  "hsl": {
    "h": 223.158,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37242,
    "c": 0.14202,
    "h": 264.3
  },
  "luminance": 0.04858
}

Semantic roles & 50–950 ramp

primary
#18388A
secondary
#BD9A40
accent
#BB3BED
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #18388A

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

Preview Lab → · Contrast checker → · Palette generator →

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