#154DCA#154DCA

#154DCA is a mid, highly saturated blue. Relative luminance 0.097; OKLCH L 47.2% C 0.202 H 262.9°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#154DCA
RGBrgb(21, 77, 202)
HSLhsl(221, 81%, 44%)
HSVhsv(221, 90%, 79%)
CMYKcmyk(89.6%, 61.9%, 0%, 20.8%)
CIE-LABlab(37.35, 31.68, -69.23)
CIE-LCHlch(37.35, 76.13, 294.59°)
OKLaboklab(47.16% -0.0249 -0.2006)
OKLCHoklch(47.16% 0.202 262.9)
XYZxyz(13.6200, 9.7297, 57.0258)
Luminance0.0973 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154DCA #CA9215
analogous
#15A7CA #154DCA #3715CA
triadic
#154DCA #CA154D #4DCA15
tetradic
#154DCA #CA15A7 #CA9215 #15CA37
square
#154DCA #CA15A7 #CA9215 #15CA37
split-complementary
#154DCA #CA3715 #A7CA15
monochromatic
#09235B #0F3893 #154DCA #326BEA #6A93EF

Accessibility & contrast

On white

7.13
#154DCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#154DCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154DCA
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154DCA#FFFFFF#000000##FFFFFF
##154DCA1.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CE
Deuteranopia (green-blind)
#0050C8
Tritanopia (blue-blind)
#006E84
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #154dca;
/* rgb */ color: rgb(21, 77, 202);
/* oklch */ color: oklch(47.2% 0.202 262.9);
Tailwind
colors: {
  custom: {
    50: '#797edb',
    500: '#154dca',
    950: '#000000',
  },
}
SCSS
$custom: #154dca;
$custom-light: #797edb;
$custom-dark: #000000;
JSON
{
  "hex": "#154dca",
  "rgb": {
    "r": 21,
    "g": 77,
    "b": 202
  },
  "hsl": {
    "h": 221.436,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.47162,
    "c": 0.20212,
    "h": 262.9
  },
  "luminance": 0.09731
}

Semantic roles & 50–950 ramp

primary
#154DCA
secondary
#D5B366
accent
#BA30F8
background
#F8F7FD
surface
#EFEEFB
border
#CAC9D4
text
#0B0915
muted
#7C7B83

Preview Lab

Preview with #154DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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