#154389#154389

#154389 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.5% C 0.127 H 259.1°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#154389
RGBrgb(21, 67, 137)
HSLhsl(216, 73%, 31%)
HSVhsv(216, 85%, 54%)
CMYKcmyk(84.7%, 51.1%, 0%, 46.3%)
CIE-LABlab(29.36, 12.36, -43.37)
CIE-LCHlch(29.36, 45.09, 285.91°)
OKLaboklab(39.5% -0.0241 -0.1248)
OKLCHoklch(39.5% 0.127 259.1)
XYZxyz(6.8301, 5.9790, 24.4561)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154389 #895B15
analogous
#157D89 #154389 #211589
triadic
#154389 #891543 #438915
tetradic
#154389 #89157D #895B15 #158921
square
#154389 #89157D #895B15 #158921
split-complementary
#154389 #892115 #7D8915
monochromatic
#050F1F #0D2954 #154389 #1D5DBE #387BE0

Accessibility & contrast

On white

9.56
#154389 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#154389 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154389
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154389#FFFFFF#000000##FFFFFF
##1543891.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184B8C
Deuteranopia (green-blind)
#004088
Tritanopia (blue-blind)
#00545F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #154389;
/* rgb */ color: rgb(21, 67, 137);
/* oklch */ color: oklch(39.5% 0.127 259.1);
Tailwind
colors: {
  custom: {
    50: '#6876ac',
    500: '#154389',
    950: '#000000',
  },
}
SCSS
$custom: #154389;
$custom-light: #6876ac;
$custom-dark: #000000;
JSON
{
  "hex": "#154389",
  "rgb": {
    "r": 21,
    "g": 67,
    "b": 137
  },
  "hsl": {
    "h": 216.207,
    "s": 73.418,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39496,
    "c": 0.12715,
    "h": 259.1
  },
  "luminance": 0.0598
}

Semantic roles & 50–950 ramp

primary
#154389
secondary
#BD8A3D
accent
#A738F0
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #154389

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

Preview Lab → · Contrast checker → · Palette generator →

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