#154184#154184

#154184 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.6% C 0.123 H 259.0°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#154184
RGBrgb(21, 65, 132)
HSLhsl(216, 73%, 30%)
HSVhsv(216, 84%, 52%)
CMYKcmyk(84.1%, 50.8%, 0%, 48.2%)
CIE-LABlab(28.39, 11.67, -41.83)
CIE-LCHlch(28.39, 43.42, 285.59°)
OKLaboklab(38.64% -0.0233 -0.1204)
OKLCHoklch(38.64% 0.123 259)
XYZxyz(6.3629, 5.6052, 22.5719)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154184 #845815
analogous
#157984 #154184 #201584
triadic
#154184 #841541 #418415
tetradic
#154184 #841579 #845815 #158420
square
#154184 #841579 #845815 #158420
split-complementary
#154184 #842015 #798415
monochromatic
#040D1A #0D274F #154184 #1D5BB9 #3578DF

Accessibility & contrast

On white

9.90
#154184 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#154184 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154184
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154184#FFFFFF#000000##FFFFFF
##1541841.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194886
Deuteranopia (green-blind)
#003E83
Tritanopia (blue-blind)
#00515C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #154184;
/* rgb */ color: rgb(21, 65, 132);
/* oklch */ color: oklch(38.6% 0.123 259.0);
Tailwind
colors: {
  custom: {
    50: '#6775a8',
    500: '#154184',
    950: '#000000',
  },
}
SCSS
$custom: #154184;
$custom-light: #6775a8;
$custom-dark: #000000;
JSON
{
  "hex": "#154184",
  "rgb": {
    "r": 21,
    "g": 65,
    "b": 132
  },
  "hsl": {
    "h": 216.216,
    "s": 72.549,
    "l": 30
  },
  "oklch": {
    "l": 0.38639,
    "c": 0.12259,
    "h": 259
  },
  "luminance": 0.05606
}

Semantic roles & 50–950 ramp

primary
#154184
secondary
#B9873C
accent
#A739EF
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #154184

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

Preview Lab → · Contrast checker → · Palette generator →

#154184 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva