#1547CA#1547CA

#1547CA is a mid, highly saturated blue. Relative luminance 0.089; OKLCH L 46.0% C 0.209 H 263.8°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#1547CA
RGBrgb(21, 71, 202)
HSLhsl(223, 81%, 44%)
HSVhsv(223, 90%, 79%)
CMYKcmyk(89.6%, 64.9%, 0%, 20.8%)
CIE-LABlab(35.85, 35.58, -71.70)
CIE-LCHlch(35.85, 80.04, 296.39°)
OKLaboklab(46.05% -0.0224 -0.2079)
OKLCHoklch(46.05% 0.209 263.8)
XYZxyz(13.2194, 8.9285, 56.8923)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1547CA #CA9815
analogous
#15A1CA #1547CA #3D15CA
triadic
#1547CA #CA1547 #47CA15
tetradic
#1547CA #CA15A1 #CA9815 #15CA3D
square
#1547CA #CA15A1 #CA9815 #15CA3D
split-complementary
#1547CA #CA3D15 #A1CA15
monochromatic
#09205B #0F3493 #1547CA #3265EA #6A8FEF

Accessibility & contrast

On white

7.54
#1547CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#1547CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1547CA
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1547CA#FFFFFF#000000##FFFFFF
##1547CA1.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCE
Deuteranopia (green-blind)
#004CC8
Tritanopia (blue-blind)
#006A82
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #1547ca;
/* rgb */ color: rgb(21, 71, 202);
/* oklch */ color: oklch(46.0% 0.209 263.8);
Tailwind
colors: {
  custom: {
    50: '#797adb',
    500: '#1547ca',
    950: '#000000',
  },
}
SCSS
$custom: #1547ca;
$custom-light: #797adb;
$custom-dark: #000000;
JSON
{
  "hex": "#1547ca",
  "rgb": {
    "r": 21,
    "g": 71,
    "b": 202
  },
  "hsl": {
    "h": 223.425,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46045,
    "c": 0.20908,
    "h": 263.8
  },
  "luminance": 0.0893
}

Semantic roles & 50–950 ramp

primary
#1547CA
secondary
#D5B666
accent
#C030F8
background
#F8F7FD
surface
#EFEDFB
border
#CAC8D4
text
#0B0915
muted
#7C7B83

Preview Lab

Preview with #1547CA

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

Preview Lab → · Contrast checker → · Palette generator →

#1547CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva