#154CB4#154CB4

#154CB4 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.0% C 0.175 H 261.7°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#154CB4
RGBrgb(21, 76, 180)
HSLhsl(219, 79%, 39%)
HSVhsv(219, 88%, 71%)
CMYKcmyk(88.3%, 57.8%, 0%, 29.4%)
CIE-LABlab(35.25, 23.72, -59.79)
CIE-LCHlch(35.25, 64.32, 291.64°)
OKLaboklab(45.01% -0.0254 -0.1729)
OKLCHoklch(45.01% 0.175 261.7)
XYZxyz(11.1289, 8.6222, 44.2488)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154CB4 #B47D15
analogous
#159CB4 #154CB4 #2D15B4
triadic
#154CB4 #B4154C #4CB415
tetradic
#154CB4 #B4159C #B47D15 #15B42D
square
#154CB4 #B4159C #B47D15 #15B42D
split-complementary
#154CB4 #B42D15 #9CB415
monochromatic
#081E46 #0F357D #154CB4 #2165E5 #588BEC

Accessibility & contrast

On white

7.71
#154CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#154CB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154CB4
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154CB4#FFFFFF#000000##FFFFFF
##154CB41.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB8
Deuteranopia (green-blind)
#004CB2
Tritanopia (blue-blind)
#006678
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #154cb4;
/* rgb */ color: rgb(21, 76, 180);
/* oklch */ color: oklch(45.0% 0.175 261.7);
Tailwind
colors: {
  custom: {
    50: '#737dcb',
    500: '#154cb4',
    950: '#000000',
  },
}
SCSS
$custom: #154cb4;
$custom-light: #737dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#154cb4",
  "rgb": {
    "r": 21,
    "g": 76,
    "b": 180
  },
  "hsl": {
    "h": 219.245,
    "s": 79.104,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45013,
    "c": 0.17478,
    "h": 261.7
  },
  "luminance": 0.08624
}

Semantic roles & 50–950 ramp

primary
#154CB4
secondary
#CFA556
accent
#B232F6
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #154CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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