#154DFE#154DFE

#154DFE is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 52.2% C 0.265 H 264.4°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#154DFE
RGBrgb(21, 77, 254)
HSLhsl(226, 99%, 54%)
HSVhsv(226, 92%, 100%)
CMYKcmyk(91.7%, 69.7%, 0%, 0.4%)
CIE-LABlab(42.19, 50.73, -90.85)
CIE-LCHlch(42.19, 104.05, 299.18°)
OKLaboklab(52.17% -0.0259 -0.2636)
OKLCHoklch(52.17% 0.265 264.4)
XYZxyz(20.8462, 12.6202, 95.0839)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154DFE #FEC615
analogous
#15C2FE #154DFE #5215FE
triadic
#154DFE #FE154D #4DFE15
tetradic
#154DFE #FE15C2 #FEC615 #15FE52
square
#154DFE #FE15C2 #FEC615 #15FE52
split-complementary
#154DFE #FE5215 #C2FE15
monochromatic
#012598 #0134D5 #154DFE #527BFE #8FAAFF

Accessibility & contrast

On white

5.96
#154DFE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#154DFE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #154DFE
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154DFE#FFFFFF#000000##FFFFFF
##154DFE1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FFF
Deuteranopia (green-blind)
#0059FB
Tritanopia (blue-blind)
#0080A0
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #154dfe;
/* rgb */ color: rgb(21, 77, 254);
/* oklch */ color: oklch(52.2% 0.265 264.4);
Tailwind
colors: {
  custom: {
    50: '#877fff',
    500: '#154dfe',
    950: '#000000',
  },
}
SCSS
$custom: #154dfe;
$custom-light: #877fff;
$custom-dark: #000000;
JSON
{
  "hex": "#154dfe",
  "rgb": {
    "r": 21,
    "g": 77,
    "b": 254
  },
  "hsl": {
    "h": 225.579,
    "s": 99.149,
    "l": 53.922
  },
  "oklch": {
    "l": 0.52166,
    "c": 0.26488,
    "h": 264.4
  },
  "luminance": 0.12623
}

Semantic roles & 50–950 ramp

primary
#154DFE
secondary
#E9D186
accent
#CC29FF
background
#F9F7FF
surface
#F2EEFF
border
#CCC9D7
text
#0E0A18
muted
#7E7C86

Preview Lab

Preview with #154DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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