#154494#154494

#154494 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.6% C 0.141 H 260.5°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#154494
RGBrgb(21, 68, 148)
HSLhsl(218, 75%, 33%)
HSVhsv(218, 86%, 58%)
CMYKcmyk(85.8%, 54.1%, 0%, 42%)
CIE-LABlab(30.47, 16.21, -48.32)
CIE-LCHlch(30.47, 50.97, 288.55°)
OKLaboklab(40.61% -0.0233 -0.1394)
OKLCHoklch(40.61% 0.141 260.5)
XYZxyz(7.7197, 6.4308, 28.8456)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154494 #946515
analogous
#158394 #154494 #251594
triadic
#154494 #941544 #449415
tetradic
#154494 #941583 #946515 #159425
square
#154494 #941583 #946515 #159425
split-complementary
#154494 #942515 #839415
monochromatic
#061329 #0D2B5E #154494 #1D5DCA #407CE4

Accessibility & contrast

On white

9.18
#154494 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#154494 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154494
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154494#FFFFFF#000000##FFFFFF
##1544941.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044E97
Deuteranopia (green-blind)
#004292
Tritanopia (blue-blind)
#005865
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #154494;
/* rgb */ color: rgb(21, 68, 148);
/* oklch */ color: oklch(40.6% 0.141 260.5);
Tailwind
colors: {
  custom: {
    50: '#6b77b4',
    500: '#154494',
    950: '#000000',
  },
}
SCSS
$custom: #154494;
$custom-light: #6b77b4;
$custom-dark: #000000;
JSON
{
  "hex": "#154494",
  "rgb": {
    "r": 21,
    "g": 68,
    "b": 148
  },
  "hsl": {
    "h": 217.795,
    "s": 75.148,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40608,
    "c": 0.14134,
    "h": 260.5
  },
  "luminance": 0.06432
}

Semantic roles & 50–950 ramp

primary
#154494
secondary
#C49341
accent
#AC36F2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #154494

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

Preview Lab → · Contrast checker → · Palette generator →

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