#154C9E#154C9E

#154C9E is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.2% C 0.145 H 259.0°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#154C9E
RGBrgb(21, 76, 158)
HSLhsl(216, 77%, 35%)
HSVhsv(216, 87%, 62%)
CMYKcmyk(86.7%, 51.9%, 0%, 38%)
CIE-LABlab(33.55, 14.83, -49.40)
CIE-LCHlch(33.55, 51.58, 286.71°)
OKLaboklab(43.2% -0.0276 -0.1424)
OKLCHoklch(43.2% 0.145 259)
XYZxyz(9.0630, 7.7958, 33.3682)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154C9E #9E6715
analogous
#15919E #154C9E #22159E
triadic
#154C9E #9E154C #4C9E15
tetradic
#154C9E #9E1591 #9E6715 #159E22
square
#154C9E #9E1591 #9E6715 #159E22
split-complementary
#154C9E #9E2215 #919E15
monochromatic
#071832 #0E3268 #154C9E #1C66D4 #4787E7

Accessibility & contrast

On white

8.21
#154C9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#154C9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154C9E
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154C9E#FFFFFF#000000##FFFFFF
##154C9E1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1455A1
Deuteranopia (green-blind)
#00499C
Tritanopia (blue-blind)
#00606D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #154c9e;
/* rgb */ color: rgb(21, 76, 158);
/* oklch */ color: oklch(43.2% 0.145 259.0);
Tailwind
colors: {
  custom: {
    50: '#6d7dbb',
    500: '#154c9e',
    950: '#000000',
  },
}
SCSS
$custom: #154c9e;
$custom-light: #6d7dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#154c9e",
  "rgb": {
    "r": 21,
    "g": 76,
    "b": 158
  },
  "hsl": {
    "h": 215.912,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43195,
    "c": 0.14506,
    "h": 259
  },
  "luminance": 0.07797
}

Semantic roles & 50–950 ramp

primary
#154C9E
secondary
#C79447
accent
#A735F3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080912
muted
#7B7B81

Preview Lab

Preview with #154C9E

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

Preview Lab → · Contrast checker → · Palette generator →

#154C9E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva