#154189#154189

#154189 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.0% C 0.130 H 260.0°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#154189
RGBrgb(21, 65, 137)
HSLhsl(217, 73%, 31%)
HSVhsv(217, 85%, 54%)
CMYKcmyk(84.7%, 52.6%, 0%, 46.3%)
CIE-LABlab(28.76, 13.75, -44.34)
CIE-LCHlch(28.76, 46.42, 287.23°)
OKLaboklab(39.04% -0.0225 -0.1277)
OKLCHoklch(39.04% 0.13 260)
XYZxyz(6.7133, 5.7453, 24.4172)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154189 #895D15
analogous
#157B89 #154189 #231589
triadic
#154189 #891541 #418915
tetradic
#154189 #89157B #895D15 #158923
square
#154189 #89157B #895D15 #158923
split-complementary
#154189 #892315 #7B8915
monochromatic
#050F1F #0D2854 #154189 #1D5ABE #3878E0

Accessibility & contrast

On white

9.77
#154189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#154189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154189
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154189#FFFFFF#000000##FFFFFF
##1541891.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11498C
Deuteranopia (green-blind)
#003F88
Tritanopia (blue-blind)
#00535E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #154189;
/* rgb */ color: rgb(21, 65, 137);
/* oklch */ color: oklch(39.0% 0.130 260.0);
Tailwind
colors: {
  custom: {
    50: '#6875ac',
    500: '#154189',
    950: '#000000',
  },
}
SCSS
$custom: #154189;
$custom-light: #6875ac;
$custom-dark: #000000;
JSON
{
  "hex": "#154189",
  "rgb": {
    "r": 21,
    "g": 65,
    "b": 137
  },
  "hsl": {
    "h": 217.241,
    "s": 73.418,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39037,
    "c": 0.12972,
    "h": 260
  },
  "luminance": 0.05746
}

Semantic roles & 50–950 ramp

primary
#154189
secondary
#BD8C3D
accent
#AA38F0
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #154189

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

Preview Lab → · Contrast checker → · Palette generator →

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