#154489#154489

#154489 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 39.7% C 0.126 H 258.6°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#154489
RGBrgb(21, 68, 137)
HSLhsl(216, 73%, 31%)
HSVhsv(216, 85%, 54%)
CMYKcmyk(84.7%, 50.4%, 0%, 46.3%)
CIE-LABlab(29.66, 11.67, -42.88)
CIE-LCHlch(29.66, 44.44, 285.22°)
OKLaboklab(39.73% -0.0248 -0.1234)
OKLCHoklch(39.73% 0.126 258.6)
XYZxyz(6.8901, 6.0990, 24.4761)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154489 #895A15
analogous
#157E89 #154489 #201589
triadic
#154489 #891544 #448915
tetradic
#154489 #89157E #895A15 #158920
square
#154489 #89157E #895A15 #158920
split-complementary
#154489 #892015 #7E8915
monochromatic
#050F1F #0D2A54 #154489 #1D5EBE #387CE0

Accessibility & contrast

On white

9.46
#154489 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#154489 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154489
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154489#FFFFFF#000000##FFFFFF
##1544891.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4B8C
Deuteranopia (green-blind)
#004188
Tritanopia (blue-blind)
#005560
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #154489;
/* rgb */ color: rgb(21, 68, 137);
/* oklch */ color: oklch(39.7% 0.126 258.6);
Tailwind
colors: {
  custom: {
    50: '#6877ac',
    500: '#154489',
    950: '#000000',
  },
}
SCSS
$custom: #154489;
$custom-light: #6877ac;
$custom-dark: #000000;
JSON
{
  "hex": "#154489",
  "rgb": {
    "r": 21,
    "g": 68,
    "b": 137
  },
  "hsl": {
    "h": 215.69,
    "s": 73.418,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39727,
    "c": 0.12587,
    "h": 258.6
  },
  "luminance": 0.061
}

Semantic roles & 50–950 ramp

primary
#154489
secondary
#BD893D
accent
#A538F0
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #154489

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

Preview Lab → · Contrast checker → · Palette generator →

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