#154AA0#154AA0

#154AA0 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 42.9% C 0.150 H 260.0°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#154AA0
RGBrgb(21, 74, 160)
HSLhsl(217, 77%, 35%)
HSVhsv(217, 87%, 63%)
CMYKcmyk(86.9%, 53.7%, 0%, 37.3%)
CIE-LABlab(33.12, 17.01, -51.31)
CIE-LCHlch(33.12, 54.05, 288.34°)
OKLaboklab(42.91% -0.026 -0.148)
OKLCHoklch(42.91% 0.15 260)
XYZxyz(9.1009, 7.5939, 34.2370)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154AA0 #A06B15
analogous
#1590A0 #154AA0 #2515A0
triadic
#154AA0 #A0154A #4AA015
tetradic
#154AA0 #A01590 #A06B15 #15A025
square
#154AA0 #A01590 #A06B15 #15A025
split-complementary
#154AA0 #A02515 #90A015
monochromatic
#071834 #0E316A #154AA0 #1C63D6 #4885E7

Accessibility & contrast

On white

8.34
#154AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#154AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154AA0
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154AA0#FFFFFF#000000##FFFFFF
##154AA01.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0454A3
Deuteranopia (green-blind)
#00489E
Tritanopia (blue-blind)
#005F6D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #154aa0;
/* rgb */ color: rgb(21, 74, 160);
/* oklch */ color: oklch(42.9% 0.150 260.0);
Tailwind
colors: {
  custom: {
    50: '#6e7bbd',
    500: '#154aa0',
    950: '#000000',
  },
}
SCSS
$custom: #154aa0;
$custom-light: #6e7bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#154aa0",
  "rgb": {
    "r": 21,
    "g": 74,
    "b": 160
  },
  "hsl": {
    "h": 217.122,
    "s": 76.796,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42913,
    "c": 0.15032,
    "h": 260
  },
  "luminance": 0.07595
}

Semantic roles & 50–950 ramp

primary
#154AA0
secondary
#C89849
accent
#AB34F3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080912
muted
#7B7B81

Preview Lab

Preview with #154AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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