#154894#154894

#154894 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.5% C 0.136 H 258.9°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#154894
RGBrgb(21, 72, 148)
HSLhsl(216, 75%, 33%)
HSVhsv(216, 86%, 58%)
CMYKcmyk(85.8%, 51.4%, 0%, 42%)
CIE-LABlab(31.65, 13.46, -46.42)
CIE-LCHlch(31.65, 48.33, 286.17°)
OKLaboklab(41.51% -0.0262 -0.1337)
OKLCHoklch(41.51% 0.136 258.9)
XYZxyz(7.9700, 6.9313, 28.9290)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154894 #946115
analogous
#158794 #154894 #221594
triadic
#154894 #941548 #489415
tetradic
#154894 #941587 #946115 #159422
square
#154894 #941587 #946115 #159422
split-complementary
#154894 #942215 #879415
monochromatic
#061429 #0D2E5E #154894 #1D62CA #4082E4

Accessibility & contrast

On white

8.80
#154894 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#154894 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154894
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154894#FFFFFF#000000##FFFFFF
##1548941.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175097
Deuteranopia (green-blind)
#004593
Tritanopia (blue-blind)
#005B67
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #154894;
/* rgb */ color: rgb(21, 72, 148);
/* oklch */ color: oklch(41.5% 0.136 258.9);
Tailwind
colors: {
  custom: {
    50: '#6b7ab4',
    500: '#154894',
    950: '#000000',
  },
}
SCSS
$custom: #154894;
$custom-light: #6b7ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#154894",
  "rgb": {
    "r": 21,
    "g": 72,
    "b": 148
  },
  "hsl": {
    "h": 215.906,
    "s": 75.148,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41506,
    "c": 0.13626,
    "h": 258.9
  },
  "luminance": 0.06932
}

Semantic roles & 50–950 ramp

primary
#154894
secondary
#C48F41
accent
#A636F2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #154894

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

Preview Lab → · Contrast checker → · Palette generator →

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