#1545CA#1545CA

#1545CA is a mid, highly saturated blue. Relative luminance 0.087; OKLCH L 45.7% C 0.211 H 264.1°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#1545CA
RGBrgb(21, 69, 202)
HSLhsl(224, 81%, 44%)
HSVhsv(224, 90%, 79%)
CMYKcmyk(89.6%, 65.8%, 0%, 20.8%)
CIE-LABlab(35.36, 36.87, -72.50)
CIE-LCHlch(35.36, 81.34, 296.96°)
OKLaboklab(45.68% -0.0217 -0.2102)
OKLCHoklch(45.68% 0.211 264.1)
XYZxyz(13.0943, 8.6782, 56.8506)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1545CA #CA9A15
analogous
#159FCA #1545CA #3F15CA
triadic
#1545CA #CA1545 #45CA15
tetradic
#1545CA #CA159F #CA9A15 #15CA3F
square
#1545CA #CA159F #CA9A15 #15CA3F
split-complementary
#1545CA #CA3F15 #9FCA15
monochromatic
#091F5B #0F3293 #1545CA #3263EA #6A8DEF

Accessibility & contrast

On white

7.68
#1545CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#1545CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1545CA
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1545CA#FFFFFF#000000##FFFFFF
##1545CA1.007.682.747.68
#FFFFFF7.681.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCE
Deuteranopia (green-blind)
#004BC8
Tritanopia (blue-blind)
#006981
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1545ca;
/* rgb */ color: rgb(21, 69, 202);
/* oklch */ color: oklch(45.7% 0.211 264.1);
Tailwind
colors: {
  custom: {
    50: '#7a78db',
    500: '#1545ca',
    950: '#000000',
  },
}
SCSS
$custom: #1545ca;
$custom-light: #7a78db;
$custom-dark: #000000;
JSON
{
  "hex": "#1545ca",
  "rgb": {
    "r": 21,
    "g": 69,
    "b": 202
  },
  "hsl": {
    "h": 224.088,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45685,
    "c": 0.21135,
    "h": 264.1
  },
  "luminance": 0.0868
}

Semantic roles & 50–950 ramp

primary
#1545CA
secondary
#D5B766
accent
#C330F8
background
#F8F7FD
surface
#EFEDFB
border
#CAC8D4
text
#0B0915
muted
#7C7B83

Preview Lab

Preview with #1545CA

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

Preview Lab → · Contrast checker → · Palette generator →

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