#154FB4#154FB4

#154FB4 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.6% C 0.171 H 260.9°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#154FB4
RGBrgb(21, 79, 180)
HSLhsl(218, 79%, 39%)
HSVhsv(218, 88%, 71%)
CMYKcmyk(88.3%, 56.1%, 0%, 29.4%)
CIE-LABlab(36.07, 21.71, -58.44)
CIE-LCHlch(36.07, 62.34, 290.38°)
OKLaboklab(45.64% -0.0271 -0.1689)
OKLCHoklch(45.64% 0.171 260.9)
XYZxyz(11.3405, 9.0452, 44.3194)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154FB4 #B47A15
analogous
#159FB4 #154FB4 #2B15B4
triadic
#154FB4 #B4154F #4FB415
tetradic
#154FB4 #B4159F #B47A15 #15B42B
square
#154FB4 #B4159F #B47A15 #15B42B
split-complementary
#154FB4 #B42B15 #9FB415
monochromatic
#081F46 #0F377D #154FB4 #2169E5 #588EEC

Accessibility & contrast

On white

7.47
#154FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#154FB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154FB4
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154FB4#FFFFFF#000000##FFFFFF
##154FB41.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB7
Deuteranopia (green-blind)
#004EB2
Tritanopia (blue-blind)
#006879
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #154fb4;
/* rgb */ color: rgb(21, 79, 180);
/* oklch */ color: oklch(45.6% 0.171 260.9);
Tailwind
colors: {
  custom: {
    50: '#737fcb',
    500: '#154fb4',
    950: '#000000',
  },
}
SCSS
$custom: #154fb4;
$custom-light: #737fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#154fb4",
  "rgb": {
    "r": 21,
    "g": 79,
    "b": 180
  },
  "hsl": {
    "h": 218.113,
    "s": 79.104,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45636,
    "c": 0.17108,
    "h": 260.9
  },
  "luminance": 0.09047
}

Semantic roles & 50–950 ramp

primary
#154FB4
secondary
#CFA356
accent
#AE32F6
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #154FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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