#154890#154890

#154890 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.2% C 0.131 H 258.2°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#154890
RGBrgb(21, 72, 144)
HSLhsl(215, 75%, 32%)
HSVhsv(215, 85%, 56%)
CMYKcmyk(85.4%, 50%, 0%, 43.5%)
CIE-LABlab(31.36, 11.81, -44.44)
CIE-LCHlch(31.36, 45.98, 284.88°)
OKLaboklab(41.19% -0.0268 -0.1279)
OKLCHoklch(41.19% 0.131 258.2)
XYZxyz(7.6588, 6.8068, 27.2903)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154890 #905D15
analogous
#158590 #154890 #201590
triadic
#154890 #901548 #489015
tetradic
#154890 #901585 #905D15 #159020
square
#154890 #901585 #905D15 #159020
split-complementary
#154890 #902015 #859015
monochromatic
#051325 #0D2D5B #154890 #1D63C5 #3D82E3

Accessibility & contrast

On white

8.89
#154890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#154890 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154890
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154890#FFFFFF#000000##FFFFFF
##1548901.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5093
Deuteranopia (green-blind)
#00458F
Tritanopia (blue-blind)
#005965
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #154890;
/* rgb */ color: rgb(21, 72, 144);
/* oklch */ color: oklch(41.2% 0.131 258.2);
Tailwind
colors: {
  custom: {
    50: '#6a7ab1',
    500: '#154890',
    950: '#000000',
  },
}
SCSS
$custom: #154890;
$custom-light: #6a7ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#154890",
  "rgb": {
    "r": 21,
    "g": 72,
    "b": 144
  },
  "hsl": {
    "h": 215.122,
    "s": 74.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41194,
    "c": 0.13067,
    "h": 258.2
  },
  "luminance": 0.06808
}

Semantic roles & 50–950 ramp

primary
#154890
secondary
#C28C3E
accent
#A437F1
background
#F6F7FB
surface
#ECEDF6
border
#C7C8D0
text
#080911
muted
#7A7B80

Preview Lab

Preview with #154890

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

Preview Lab → · Contrast checker → · Palette generator →

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