#154589#154589

#154589 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.0% C 0.125 H 258.1°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#154589
RGBrgb(21, 69, 137)
HSLhsl(215, 73%, 31%)
HSVhsv(215, 85%, 54%)
CMYKcmyk(84.7%, 49.6%, 0%, 46.3%)
CIE-LABlab(29.96, 10.98, -42.39)
CIE-LCHlch(29.96, 43.79, 284.52°)
OKLaboklab(39.96% -0.0256 -0.1219)
OKLCHoklch(39.96% 0.125 258.1)
XYZxyz(6.9511, 6.2210, 24.4965)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154589 #895915
analogous
#157F89 #154589 #1F1589
triadic
#154589 #891545 #458915
tetradic
#154589 #89157F #895915 #15891F
square
#154589 #89157F #895915 #15891F
split-complementary
#154589 #891F15 #7F8915
monochromatic
#05101F #0D2A54 #154589 #1D60BE #387EE0

Accessibility & contrast

On white

9.36
#154589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#154589 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154589
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154589#FFFFFF#000000##FFFFFF
##1545891.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4C8C
Deuteranopia (green-blind)
#004288
Tritanopia (blue-blind)
#005560
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #154589;
/* rgb */ color: rgb(21, 69, 137);
/* oklch */ color: oklch(40.0% 0.125 258.1);
Tailwind
colors: {
  custom: {
    50: '#6878ac',
    500: '#154589',
    950: '#000000',
  },
}
SCSS
$custom: #154589;
$custom-light: #6878ac;
$custom-dark: #000000;
JSON
{
  "hex": "#154589",
  "rgb": {
    "r": 21,
    "g": 69,
    "b": 137
  },
  "hsl": {
    "h": 215.172,
    "s": 73.418,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39959,
    "c": 0.12461,
    "h": 258.1
  },
  "luminance": 0.06222
}

Semantic roles & 50–950 ramp

primary
#154589
secondary
#BD883D
accent
#A438F0
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #154589

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

Preview Lab → · Contrast checker → · Palette generator →

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