#1537CA#1537CA

#1537CA is a dark, highly saturated blue. Relative luminance 0.072; OKLCH L 43.4% C 0.226 H 265.5°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#1537CA
RGBrgb(21, 55, 202)
HSLhsl(229, 81%, 44%)
HSVhsv(229, 90%, 79%)
CMYKcmyk(89.6%, 72.8%, 0%, 20.8%)
CIE-LABlab(32.16, 45.56, -77.78)
CIE-LCHlch(32.16, 90.14, 300.36°)
OKLaboklab(43.36% -0.0176 -0.2256)
OKLCHoklch(43.36% 0.226 265.5)
XYZxyz(12.3324, 7.1545, 56.5966)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1537CA #CAA815
analogous
#1591CA #1537CA #4D15CA
triadic
#1537CA #CA1537 #37CA15
tetradic
#1537CA #CA1591 #CAA815 #15CA4D
square
#1537CA #CA1591 #CAA815 #15CA4D
split-complementary
#1537CA #CA4D15 #91CA15
monochromatic
#09195B #0F2893 #1537CA #3255EA #6A83EF

Accessibility & contrast

On white

8.64
#1537CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#1537CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1537CA
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1537CA#FFFFFF#000000##FFFFFF
##1537CA1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054CE
Deuteranopia (green-blind)
#0043C7
Tritanopia (blue-blind)
#00627D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1537ca;
/* rgb */ color: rgb(21, 55, 202);
/* oklch */ color: oklch(43.4% 0.226 265.5);
Tailwind
colors: {
  custom: {
    50: '#7b6edc',
    500: '#1537ca',
    950: '#000000',
  },
}
SCSS
$custom: #1537ca;
$custom-light: #7b6edc;
$custom-dark: #000000;
JSON
{
  "hex": "#1537ca",
  "rgb": {
    "r": 21,
    "g": 55,
    "b": 202
  },
  "hsl": {
    "h": 228.729,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43357,
    "c": 0.22631,
    "h": 265.5
  },
  "luminance": 0.07156
}

Semantic roles & 50–950 ramp

primary
#1537CA
secondary
#D5C066
accent
#D230F8
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #1537CA

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

Preview Lab → · Contrast checker → · Palette generator →

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