#154BA0#154BA0

#154BA0 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.1% C 0.149 H 259.7°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#154BA0
RGBrgb(21, 75, 160)
HSLhsl(217, 77%, 35%)
HSVhsv(217, 87%, 63%)
CMYKcmyk(86.9%, 53.1%, 0%, 37.3%)
CIE-LABlab(33.41, 16.33, -50.84)
CIE-LCHlch(33.41, 53.40, 287.81°)
OKLaboklab(43.13% -0.0267 -0.1467)
OKLCHoklch(43.13% 0.149 259.7)
XYZxyz(9.1682, 7.7285, 34.2594)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154BA0 #A06A15
analogous
#1590A0 #154BA0 #2515A0
triadic
#154BA0 #A0154B #4BA015
tetradic
#154BA0 #A01590 #A06A15 #15A025
square
#154BA0 #A01590 #A06A15 #15A025
split-complementary
#154BA0 #A02515 #90A015
monochromatic
#071834 #0E326A #154BA0 #1C64D6 #4886E7

Accessibility & contrast

On white

8.25
#154BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #154BA0
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154BA0#FFFFFF#000000##FFFFFF
##154BA01.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A55A3
Deuteranopia (green-blind)
#00499E
Tritanopia (blue-blind)
#00606E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #154ba0;
/* rgb */ color: rgb(21, 75, 160);
/* oklch */ color: oklch(43.1% 0.149 259.7);
Tailwind
colors: {
  custom: {
    50: '#6e7cbd',
    500: '#154ba0',
    950: '#000000',
  },
}
SCSS
$custom: #154ba0;
$custom-light: #6e7cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#154ba0",
  "rgb": {
    "r": 21,
    "g": 75,
    "b": 160
  },
  "hsl": {
    "h": 216.691,
    "s": 76.796,
    "l": 35.49
  },
  "oklch": {
    "l": 0.43133,
    "c": 0.14907,
    "h": 259.7
  },
  "luminance": 0.0773
}

Semantic roles & 50–950 ramp

primary
#154BA0
secondary
#C89749
accent
#A934F3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080912
muted
#7B7B81

Preview Lab

Preview with #154BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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