#21184F#21184F

#21184F is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.8% C 0.096 H 284.9°. Best body text is #FFFFFF at 16.05:1 contrast (WCAG AA passes).

Color values

HEX#21184F
RGBrgb(33, 24, 79)
HSLhsl(250, 53%, 20%)
HSVhsv(250, 70%, 31%)
CMYKcmyk(58.2%, 69.6%, 0%, 69%)
CIE-LABlab(12.87, 21.54, -32.46)
CIE-LCHlch(12.87, 38.96, 303.57°)
OKLaboklab(25.8% 0.0248 -0.0931)
OKLCHoklch(25.8% 0.096 284.9)
XYZxyz(2.3647, 1.5410, 7.5685)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21184F #464F18
analogous
#182B4F #21184F #3C184F
triadic
#21184F #4F2118 #184F21
tetradic
#21184F #4F182B #464F18 #184F3C
square
#21184F #4F182B #464F18 #184F3C
split-complementary
#21184F #4F3C18 #2B4F18
monochromatic
#0A0717 #0D0A20 #21184F #35267E #4835AD

Accessibility & contrast

On white

16.05
#21184F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#21184F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21184F
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21184F#FFFFFF#000000##FFFFFF
##21184F1.0016.051.3116.05
#FFFFFF16.051.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002351
Deuteranopia (green-blind)
#00204E
Tritanopia (blue-blind)
#0E2531
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #21184f;
/* rgb */ color: rgb(33, 24, 79);
/* oklch */ color: oklch(25.8% 0.096 284.9);
Tailwind
colors: {
  custom: {
    50: '#625581',
    500: '#21184f',
    950: '#000000',
  },
}
SCSS
$custom: #21184f;
$custom-light: #625581;
$custom-dark: #000000;
JSON
{
  "hex": "#21184f",
  "rgb": {
    "r": 33,
    "g": 24,
    "b": 79
  },
  "hsl": {
    "h": 249.818,
    "s": 53.398,
    "l": 20.196
  },
  "oklch": {
    "l": 0.25795,
    "c": 0.09638,
    "h": 284.9
  },
  "luminance": 0.01541
}

Semantic roles & 50–950 ramp

primary
#21184F
secondary
#7A863D
accent
#DD4BC5
background
#F6F5F7
surface
#EBE8EE
border
#C6C4C9
text
#05030A
muted
#7A787C

Preview Lab

Preview with #21184F

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

Preview Lab → · Contrast checker → · Palette generator →

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