#154289#154289

#154289 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.3% C 0.128 H 259.5°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#154289
RGBrgb(21, 66, 137)
HSLhsl(217, 73%, 31%)
HSVhsv(217, 85%, 54%)
CMYKcmyk(84.7%, 51.8%, 0%, 46.3%)
CIE-LABlab(29.06, 13.05, -43.85)
CIE-LCHlch(29.06, 45.75, 286.58°)
OKLaboklab(39.27% -0.0233 -0.1263)
OKLCHoklch(39.27% 0.128 259.5)
XYZxyz(6.7712, 5.8612, 24.4365)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154289 #895C15
analogous
#157C89 #154289 #221589
triadic
#154289 #891542 #428915
tetradic
#154289 #89157C #895C15 #158922
square
#154289 #89157C #895C15 #158922
split-complementary
#154289 #892215 #7C8915
monochromatic
#050F1F #0D2854 #154289 #1D5CBE #3879E0

Accessibility & contrast

On white

9.67
#154289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#154289 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154289
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154289#FFFFFF#000000##FFFFFF
##1542891.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144A8C
Deuteranopia (green-blind)
#004088
Tritanopia (blue-blind)
#00535F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #154289;
/* rgb */ color: rgb(21, 66, 137);
/* oklch */ color: oklch(39.3% 0.128 259.5);
Tailwind
colors: {
  custom: {
    50: '#6875ac',
    500: '#154289',
    950: '#000000',
  },
}
SCSS
$custom: #154289;
$custom-light: #6875ac;
$custom-dark: #000000;
JSON
{
  "hex": "#154289",
  "rgb": {
    "r": 21,
    "g": 66,
    "b": 137
  },
  "hsl": {
    "h": 216.724,
    "s": 73.418,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39266,
    "c": 0.12843,
    "h": 259.5
  },
  "luminance": 0.05862
}

Semantic roles & 50–950 ramp

primary
#154289
secondary
#BD8B3D
accent
#A938F0
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #154289

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

Preview Lab → · Contrast checker → · Palette generator →

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