#154FCA#154FCA

#154FCA is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.5% C 0.200 H 262.6°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#154FCA
RGBrgb(21, 79, 202)
HSLhsl(221, 81%, 44%)
HSVhsv(221, 90%, 79%)
CMYKcmyk(89.6%, 60.9%, 0%, 20.8%)
CIE-LABlab(37.87, 30.37, -68.38)
CIE-LCHlch(37.87, 74.82, 293.94°)
OKLaboklab(47.55% -0.0258 -0.1981)
OKLCHoklch(47.55% 0.2 262.6)
XYZxyz(13.7621, 10.0139, 57.0732)
Luminance0.1002 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154FCA #CA9015
analogous
#15A9CA #154FCA #3515CA
triadic
#154FCA #CA154F #4FCA15
tetradic
#154FCA #CA15A9 #CA9015 #15CA35
square
#154FCA #CA15A9 #CA9015 #15CA35
split-complementary
#154FCA #CA3515 #A9CA15
monochromatic
#09245B #0F3993 #154FCA #326DEA #6A95EF

Accessibility & contrast

On white

6.99
#154FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#154FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #154FCA
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154FCA#FFFFFF#000000##FFFFFF
##154FCA1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CE
Deuteranopia (green-blind)
#0051C8
Tritanopia (blue-blind)
#006F85
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #154fca;
/* rgb */ color: rgb(21, 79, 202);
/* oklch */ color: oklch(47.5% 0.200 262.6);
Tailwind
colors: {
  custom: {
    50: '#797fdb',
    500: '#154fca',
    950: '#000000',
  },
}
SCSS
$custom: #154fca;
$custom-light: #797fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#154fca",
  "rgb": {
    "r": 21,
    "g": 79,
    "b": 202
  },
  "hsl": {
    "h": 220.773,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.47545,
    "c": 0.19975,
    "h": 262.6
  },
  "luminance": 0.10016
}

Semantic roles & 50–950 ramp

primary
#154FCA
secondary
#D5B166
accent
#B830F8
background
#F8F7FD
surface
#EFEEFB
border
#CAC9D4
text
#0B0A15
muted
#7C7C83

Preview Lab

Preview with #154FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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