#18214F#18214F

#18214F is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.9% C 0.085 H 271.3°. Best body text is #FFFFFF at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#18214F
RGBrgb(24, 33, 79)
HSLhsl(230, 53%, 20%)
HSVhsv(230, 70%, 31%)
CMYKcmyk(69.6%, 58.2%, 0%, 69%)
CIE-LABlab(14.66, 13.13, -29.59)
CIE-LCHlch(14.66, 32.37, 293.92°)
OKLaboklab(26.93% 0.0019 -0.0849)
OKLCHoklch(26.93% 0.085 271.3)
XYZxyz(2.3314, 1.8462, 7.6291)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18214F #4F4618
analogous
#183C4F #18214F #2B184F
triadic
#18214F #4F1821 #214F18
tetradic
#18214F #4F183C #4F4618 #184F2B
square
#18214F #4F183C #4F4618 #184F2B
split-complementary
#18214F #4F2B18 #3C4F18
monochromatic
#070A17 #0A0D20 #18214F #26357E #3548AD

Accessibility & contrast

On white

15.34
#18214F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#18214F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18214F
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18214F#FFFFFF#000000##FFFFFF
##18214F1.0015.341.3715.34
#FFFFFF15.341.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052851
Deuteranopia (green-blind)
#00234E
Tritanopia (blue-blind)
#002C34
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #18214f;
/* rgb */ color: rgb(24, 33, 79);
/* oklch */ color: oklch(26.9% 0.085 271.3);
Tailwind
colors: {
  custom: {
    50: '#5c5b81',
    500: '#18214f',
    950: '#000000',
  },
}
SCSS
$custom: #18214f;
$custom-light: #5c5b81;
$custom-dark: #000000;
JSON
{
  "hex": "#18214f",
  "rgb": {
    "r": 24,
    "g": 33,
    "b": 79
  },
  "hsl": {
    "h": 230.182,
    "s": 53.398,
    "l": 20.196
  },
  "oklch": {
    "l": 0.26928,
    "c": 0.08494,
    "h": 271.3
  },
  "luminance": 0.01846
}

Semantic roles & 50–950 ramp

primary
#18214F
secondary
#867A3D
accent
#C54BDD
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #18214F

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

Preview Lab → · Contrast checker → · Palette generator →

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