#154BCA#154BCA

#154BCA is a mid, highly saturated blue. Relative luminance 0.095; OKLCH L 46.8% C 0.204 H 263.3°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#154BCA
RGBrgb(21, 75, 202)
HSLhsl(222, 81%, 44%)
HSVhsv(222, 90%, 79%)
CMYKcmyk(89.6%, 62.9%, 0%, 20.8%)
CIE-LABlab(36.84, 32.98, -70.06)
CIE-LCHlch(36.84, 77.44, 295.21°)
OKLaboklab(46.78% -0.024 -0.203)
OKLCHoklch(46.78% 0.204 263.3)
XYZxyz(13.4822, 9.4541, 56.9799)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154BCA #CA9415
analogous
#15A5CA #154BCA #3915CA
triadic
#154BCA #CA154B #4BCA15
tetradic
#154BCA #CA15A5 #CA9415 #15CA39
square
#154BCA #CA15A5 #CA9415 #15CA39
split-complementary
#154BCA #CA3915 #A5CA15
monochromatic
#09225B #0F3693 #154BCA #3269EA #6A92EF

Accessibility & contrast

On white

7.26
#154BCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#154BCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154BCA
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154BCA#FFFFFF#000000##FFFFFF
##154BCA1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCE
Deuteranopia (green-blind)
#004FC8
Tritanopia (blue-blind)
#006D83
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #154bca;
/* rgb */ color: rgb(21, 75, 202);
/* oklch */ color: oklch(46.8% 0.204 263.3);
Tailwind
colors: {
  custom: {
    50: '#797cdb',
    500: '#154bca',
    950: '#000000',
  },
}
SCSS
$custom: #154bca;
$custom-light: #797cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#154bca",
  "rgb": {
    "r": 21,
    "g": 75,
    "b": 202
  },
  "hsl": {
    "h": 222.099,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46783,
    "c": 0.20446,
    "h": 263.3
  },
  "luminance": 0.09456
}

Semantic roles & 50–950 ramp

primary
#154BCA
secondary
#D5B466
accent
#BC30F8
background
#F8F7FD
surface
#EFEEFB
border
#CAC9D4
text
#0B0915
muted
#7C7B83

Preview Lab

Preview with #154BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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