#154EB4#154EB4

#154EB4 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.4% C 0.172 H 261.2°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#154EB4
RGBrgb(21, 78, 180)
HSLhsl(218, 79%, 39%)
HSVhsv(218, 88%, 71%)
CMYKcmyk(88.3%, 56.7%, 0%, 29.4%)
CIE-LABlab(35.79, 22.38, -58.89)
CIE-LCHlch(35.79, 63.00, 290.81°)
OKLaboklab(45.43% -0.0265 -0.1703)
OKLCHoklch(45.43% 0.172 261.2)
XYZxyz(11.2689, 8.9020, 44.2955)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154EB4 #B47B15
analogous
#159DB4 #154EB4 #2C15B4
triadic
#154EB4 #B4154E #4EB415
tetradic
#154EB4 #B4159D #B47B15 #15B42C
square
#154EB4 #B4159D #B47B15 #15B42C
split-complementary
#154EB4 #B42C15 #9DB415
monochromatic
#081F46 #0F367D #154EB4 #2167E5 #588DEC

Accessibility & contrast

On white

7.55
#154EB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#154EB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154EB4
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154EB4#FFFFFF#000000##FFFFFF
##154EB41.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB8
Deuteranopia (green-blind)
#004DB2
Tritanopia (blue-blind)
#006879
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #154eb4;
/* rgb */ color: rgb(21, 78, 180);
/* oklch */ color: oklch(45.4% 0.172 261.2);
Tailwind
colors: {
  custom: {
    50: '#737ecb',
    500: '#154eb4',
    950: '#000000',
  },
}
SCSS
$custom: #154eb4;
$custom-light: #737ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#154eb4",
  "rgb": {
    "r": 21,
    "g": 78,
    "b": 180
  },
  "hsl": {
    "h": 218.491,
    "s": 79.104,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45427,
    "c": 0.17231,
    "h": 261.2
  },
  "luminance": 0.08903
}

Semantic roles & 50–950 ramp

primary
#154EB4
secondary
#CFA356
accent
#B032F6
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #154EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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