#154BB4#154BB4

#154BB4 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.8% C 0.176 H 261.9°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#154BB4
RGBrgb(21, 75, 180)
HSLhsl(220, 79%, 39%)
HSVhsv(220, 88%, 71%)
CMYKcmyk(88.3%, 58.3%, 0%, 29.4%)
CIE-LABlab(34.97, 24.39, -60.23)
CIE-LCHlch(34.97, 64.98, 292.05°)
OKLaboklab(44.81% -0.0248 -0.1742)
OKLCHoklch(44.81% 0.176 261.9)
XYZxyz(11.0606, 8.4854, 44.2261)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154BB4 #B47E15
analogous
#159AB4 #154BB4 #2F15B4
triadic
#154BB4 #B4154B #4BB415
tetradic
#154BB4 #B4159A #B47E15 #15B42F
square
#154BB4 #B4159A #B47E15 #15B42F
split-complementary
#154BB4 #B42F15 #9AB415
monochromatic
#081D46 #0F347D #154BB4 #2164E5 #588AEC

Accessibility & contrast

On white

7.79
#154BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#154BB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154BB4
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154BB4#FFFFFF#000000##FFFFFF
##154BB41.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #154bb4;
/* rgb */ color: rgb(21, 75, 180);
/* oklch */ color: oklch(44.8% 0.176 261.9);
Tailwind
colors: {
  custom: {
    50: '#737ccb',
    500: '#154bb4',
    950: '#000000',
  },
}
SCSS
$custom: #154bb4;
$custom-light: #737ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#154bb4",
  "rgb": {
    "r": 21,
    "g": 75,
    "b": 180
  },
  "hsl": {
    "h": 219.623,
    "s": 79.104,
    "l": 39.412
  },
  "oklch": {
    "l": 0.44808,
    "c": 0.17601,
    "h": 261.9
  },
  "luminance": 0.08487
}

Semantic roles & 50–950 ramp

primary
#154BB4
secondary
#CFA656
accent
#B332F6
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #154BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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