#18438D#18438D

#18438D is a dark, vivid blue. Relative luminance 0.061; OKLCH L 39.9% C 0.132 H 260.5°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#18438D
RGBrgb(24, 67, 141)
HSLhsl(218, 71%, 32%)
HSVhsv(218, 83%, 55%)
CMYKcmyk(83%, 52.5%, 0%, 44.7%)
CIE-LABlab(29.74, 14.31, -45.22)
CIE-LCHlch(29.74, 47.42, 287.56°)
OKLaboklab(39.91% -0.0217 -0.1302)
OKLCHoklch(39.91% 0.132 260.5)
XYZxyz(7.1898, 6.1307, 25.9985)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18438D #8D6218
analogous
#187D8D #18438D #28188D
triadic
#18438D #8D1843 #438D18
tetradic
#18438D #8D187D #8D6218 #188D28
square
#18438D #8D187D #8D6218 #188D28
split-complementary
#18438D #8D2818 #7D8D18
monochromatic
#061124 #0F2A59 #18438D #215CC1 #417BDF

Accessibility & contrast

On white

9.43
#18438D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#18438D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18438D
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18438D#FFFFFF#000000##FFFFFF
##18438D1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124C90
Deuteranopia (green-blind)
#00418C
Tritanopia (blue-blind)
#005561
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #18438d;
/* rgb */ color: rgb(24, 67, 141);
/* oklch */ color: oklch(39.9% 0.132 260.5);
Tailwind
colors: {
  custom: {
    50: '#6a76af',
    500: '#18438d',
    950: '#000000',
  },
}
SCSS
$custom: #18438d;
$custom-light: #6a76af;
$custom-dark: #000000;
JSON
{
  "hex": "#18438d",
  "rgb": {
    "r": 24,
    "g": 67,
    "b": 141
  },
  "hsl": {
    "h": 217.949,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.39905,
    "c": 0.13205,
    "h": 260.5
  },
  "luminance": 0.06132
}

Semantic roles & 50–950 ramp

primary
#18438D
secondary
#BF9142
accent
#AC3AEE
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #18438D

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

Preview Lab → · Contrast checker → · Palette generator →

#18438D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva