#154AA5#154AA5

#154AA5 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.3% C 0.157 H 260.7°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#154AA5
RGBrgb(21, 74, 165)
HSLhsl(218, 77%, 36%)
HSVhsv(218, 87%, 65%)
CMYKcmyk(87.3%, 55.2%, 0%, 35.3%)
CIE-LABlab(33.50, 19.04, -53.69)
CIE-LCHlch(33.50, 56.97, 289.53°)
OKLaboklab(43.32% -0.0254 -0.1551)
OKLCHoklch(43.32% 0.157 260.7)
XYZxyz(9.5471, 7.7724, 36.5870)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154AA5 #A57015
analogous
#1592A5 #154AA5 #2815A5
triadic
#154AA5 #A5154A #4AA515
tetradic
#154AA5 #A51592 #A57015 #15A528
square
#154AA5 #A51592 #A57015 #15A528
split-complementary
#154AA5 #A52815 #92A515
monochromatic
#071938 #0E326F #154AA5 #1C62DB #4C86E8

Accessibility & contrast

On white

8.22
#154AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#154AA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154AA5
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154AA5#FFFFFF#000000##FFFFFF
##154AA51.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A8
Deuteranopia (green-blind)
#0049A3
Tritanopia (blue-blind)
#006170
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #154aa5;
/* rgb */ color: rgb(21, 74, 165);
/* oklch */ color: oklch(43.3% 0.157 260.7);
Tailwind
colors: {
  custom: {
    50: '#6f7bc0',
    500: '#154aa5',
    950: '#000000',
  },
}
SCSS
$custom: #154aa5;
$custom-light: #6f7bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#154aa5",
  "rgb": {
    "r": 21,
    "g": 74,
    "b": 165
  },
  "hsl": {
    "h": 217.917,
    "s": 77.419,
    "l": 36.471
  },
  "oklch": {
    "l": 0.43324,
    "c": 0.15714,
    "h": 260.7
  },
  "luminance": 0.07774
}

Semantic roles & 50–950 ramp

primary
#154AA5
secondary
#CA9C4C
accent
#AD34F4
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #154AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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