#154493#154493

#154493 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.5% C 0.140 H 260.4°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#154493
RGBrgb(21, 68, 147)
HSLhsl(218, 75%, 33%)
HSVhsv(218, 86%, 58%)
CMYKcmyk(85.7%, 53.7%, 0%, 42.4%)
CIE-LABlab(30.40, 15.80, -47.83)
CIE-LCHlch(30.40, 50.38, 288.28°)
OKLaboklab(40.53% -0.0234 -0.138)
OKLCHoklch(40.53% 0.14 260.4)
XYZxyz(7.6409, 6.3993, 28.4306)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154493 #936415
analogous
#158393 #154493 #251593
triadic
#154493 #931544 #449315
tetradic
#154493 #931583 #936415 #159325
square
#154493 #931583 #936415 #159325
split-complementary
#154493 #932515 #839315
monochromatic
#061228 #0D2B5D #154493 #1D5DC9 #3F7CE4

Accessibility & contrast

On white

9.21
#154493 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#154493 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154493
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154493#FFFFFF#000000##FFFFFF
##1544931.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074E96
Deuteranopia (green-blind)
#004291
Tritanopia (blue-blind)
#005764
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #154493;
/* rgb */ color: rgb(21, 68, 147);
/* oklch */ color: oklch(40.5% 0.140 260.4);
Tailwind
colors: {
  custom: {
    50: '#6b77b3',
    500: '#154493',
    950: '#000000',
  },
}
SCSS
$custom: #154493;
$custom-light: #6b77b3;
$custom-dark: #000000;
JSON
{
  "hex": "#154493",
  "rgb": {
    "r": 21,
    "g": 68,
    "b": 147
  },
  "hsl": {
    "h": 217.619,
    "s": 75,
    "l": 32.941
  },
  "oklch": {
    "l": 0.40526,
    "c": 0.13995,
    "h": 260.4
  },
  "luminance": 0.064
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #154493

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

Preview Lab → · Contrast checker → · Palette generator →

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