#1541CA#1541CA

#1541CA is a dark, highly saturated blue. Relative luminance 0.082; OKLCH L 45.0% C 0.216 H 264.6°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#1541CA
RGBrgb(21, 65, 202)
HSLhsl(225, 81%, 44%)
HSVhsv(225, 90%, 79%)
CMYKcmyk(89.6%, 67.8%, 0%, 20.8%)
CIE-LABlab(34.40, 39.42, -74.07)
CIE-LCHlch(34.40, 83.91, 298.02°)
OKLaboklab(44.98% -0.0203 -0.2148)
OKLCHoklch(44.98% 0.216 264.6)
XYZxyz(12.8565, 8.2026, 56.7713)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1541CA #CA9E15
analogous
#159BCA #1541CA #4315CA
triadic
#1541CA #CA1541 #41CA15
tetradic
#1541CA #CA159B #CA9E15 #15CA43
square
#1541CA #CA159B #CA9E15 #15CA43
split-complementary
#1541CA #CA4315 #9BCA15
monochromatic
#091D5B #0F2F93 #1541CA #325FEA #6A8AEF

Accessibility & contrast

On white

7.95
#1541CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#1541CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1541CA
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1541CA#FFFFFF#000000##FFFFFF
##1541CA1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CE
Deuteranopia (green-blind)
#0048C8
Tritanopia (blue-blind)
#006780
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1541ca;
/* rgb */ color: rgb(21, 65, 202);
/* oklch */ color: oklch(45.0% 0.216 264.6);
Tailwind
colors: {
  custom: {
    50: '#7a75db',
    500: '#1541ca',
    950: '#000000',
  },
}
SCSS
$custom: #1541ca;
$custom-light: #7a75db;
$custom-dark: #000000;
JSON
{
  "hex": "#1541ca",
  "rgb": {
    "r": 21,
    "g": 65,
    "b": 202
  },
  "hsl": {
    "h": 225.414,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.44984,
    "c": 0.21581,
    "h": 264.6
  },
  "luminance": 0.08204
}

Semantic roles & 50–950 ramp

primary
#1541CA
secondary
#D5BA66
accent
#C730F8
background
#F8F7FD
surface
#EFEDFB
border
#CAC8D4
text
#0B0815
muted
#7C7B83

Preview Lab

Preview with #1541CA

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

Preview Lab → · Contrast checker → · Palette generator →

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