#154089#154089

#154089 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.8% C 0.131 H 260.4°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#154089
RGBrgb(21, 64, 137)
HSLhsl(218, 73%, 31%)
HSVhsv(218, 85%, 54%)
CMYKcmyk(84.7%, 53.3%, 0%, 46.3%)
CIE-LABlab(28.46, 14.45, -44.82)
CIE-LCHlch(28.46, 47.09, 287.86°)
OKLaboklab(38.81% -0.0218 -0.1292)
OKLCHoklch(38.81% 0.131 260.4)
XYZxyz(6.6564, 5.6315, 24.3982)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154089 #895E15
analogous
#157A89 #154089 #241589
triadic
#154089 #891540 #408915
tetradic
#154089 #89157A #895E15 #158924
square
#154089 #89157A #895E15 #158924
split-complementary
#154089 #892415 #7A8915
monochromatic
#050E1F #0D2754 #154089 #1D59BE #3876E0

Accessibility & contrast

On white

9.88
#154089 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#154089 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154089
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154089#FFFFFF#000000##FFFFFF
##1540891.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D498C
Deuteranopia (green-blind)
#003E88
Tritanopia (blue-blind)
#00525E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #154089;
/* rgb */ color: rgb(21, 64, 137);
/* oklch */ color: oklch(38.8% 0.131 260.4);
Tailwind
colors: {
  custom: {
    50: '#6874ac',
    500: '#154089',
    950: '#000000',
  },
}
SCSS
$custom: #154089;
$custom-light: #6874ac;
$custom-dark: #000000;
JSON
{
  "hex": "#154089",
  "rgb": {
    "r": 21,
    "g": 64,
    "b": 137
  },
  "hsl": {
    "h": 217.759,
    "s": 73.418,
    "l": 30.98
  },
  "oklch": {
    "l": 0.3881,
    "c": 0.13101,
    "h": 260.4
  },
  "luminance": 0.05632
}

Semantic roles & 50–950 ramp

primary
#154089
secondary
#BD8E3D
accent
#AC38F0
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #154089

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

Preview Lab → · Contrast checker → · Palette generator →

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