#154CCA#154CCA

#154CCA is a mid, highly saturated blue. Relative luminance 0.096; OKLCH L 47.0% C 0.203 H 263.1°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#154CCA
RGBrgb(21, 76, 202)
HSLhsl(222, 81%, 44%)
HSVhsv(222, 90%, 79%)
CMYKcmyk(89.6%, 62.4%, 0%, 20.8%)
CIE-LABlab(37.10, 32.33, -69.64)
CIE-LCHlch(37.10, 76.78, 294.90°)
OKLaboklab(46.97% -0.0244 -0.2018)
OKLCHoklch(46.97% 0.203 263.1)
XYZxyz(13.5505, 9.5908, 57.0027)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154CCA #CA9315
analogous
#15A6CA #154CCA #3815CA
triadic
#154CCA #CA154C #4CCA15
tetradic
#154CCA #CA15A6 #CA9315 #15CA38
square
#154CCA #CA15A6 #CA9315 #15CA38
split-complementary
#154CCA #CA3815 #A6CA15
monochromatic
#09225B #0F3793 #154CCA #326AEA #6A92EF

Accessibility & contrast

On white

7.20
#154CCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#154CCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154CCA
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154CCA#FFFFFF#000000##FFFFFF
##154CCA1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CE
Deuteranopia (green-blind)
#004FC8
Tritanopia (blue-blind)
#006D84
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #154cca;
/* rgb */ color: rgb(21, 76, 202);
/* oklch */ color: oklch(47.0% 0.203 263.1);
Tailwind
colors: {
  custom: {
    50: '#797ddb',
    500: '#154cca',
    950: '#000000',
  },
}
SCSS
$custom: #154cca;
$custom-light: #797ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#154cca",
  "rgb": {
    "r": 21,
    "g": 76,
    "b": 202
  },
  "hsl": {
    "h": 221.768,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46972,
    "c": 0.20329,
    "h": 263.1
  },
  "luminance": 0.09593
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #154CCA

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

Preview Lab → · Contrast checker → · Palette generator →

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