#154CA0#154CA0

#154CA0 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.4% C 0.148 H 259.3°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#154CA0
RGBrgb(21, 76, 160)
HSLhsl(216, 77%, 35%)
HSVhsv(216, 87%, 63%)
CMYKcmyk(86.9%, 52.5%, 0%, 37.3%)
CIE-LABlab(33.70, 15.65, -50.37)
CIE-LCHlch(33.70, 52.75, 287.26°)
OKLaboklab(43.35% -0.0273 -0.1452)
OKLCHoklch(43.35% 0.148 259.3)
XYZxyz(9.2365, 7.8652, 34.2822)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154CA0 #A06915
analogous
#1591A0 #154CA0 #2315A0
triadic
#154CA0 #A0154C #4CA015
tetradic
#154CA0 #A01591 #A06915 #15A023
square
#154CA0 #A01591 #A06915 #15A023
split-complementary
#154CA0 #A02315 #91A015
monochromatic
#071934 #0E326A #154CA0 #1C66D6 #4887E7

Accessibility & contrast

On white

8.16
#154CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#154CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154CA0
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154CA0#FFFFFF#000000##FFFFFF
##154CA01.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1056A3
Deuteranopia (green-blind)
#00499E
Tritanopia (blue-blind)
#00616E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #154ca0;
/* rgb */ color: rgb(21, 76, 160);
/* oklch */ color: oklch(43.4% 0.148 259.3);
Tailwind
colors: {
  custom: {
    50: '#6e7dbd',
    500: '#154ca0',
    950: '#000000',
  },
}
SCSS
$custom: #154ca0;
$custom-light: #6e7dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#154ca0",
  "rgb": {
    "r": 21,
    "g": 76,
    "b": 160
  },
  "hsl": {
    "h": 216.259,
    "s": 76.796,
    "l": 35.49
  },
  "oklch": {
    "l": 0.43354,
    "c": 0.1478,
    "h": 259.3
  },
  "luminance": 0.07866
}

Semantic roles & 50–950 ramp

primary
#154CA0
secondary
#C89649
accent
#A834F3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080912
muted
#7B7B81

Preview Lab

Preview with #154CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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