#1A215E#1A215E

#1A215E is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.4% C 0.108 H 272.5°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#1A215E
RGBrgb(26, 33, 94)
HSLhsl(234, 57%, 24%)
HSVhsv(234, 72%, 37%)
CMYKcmyk(72.3%, 64.9%, 0%, 63.1%)
CIE-LABlab(16.08, 19.55, -37.38)
CIE-LCHlch(16.08, 42.18, 297.62°)
OKLaboklab(28.43% 0.0047 -0.1078)
OKLCHoklch(28.43% 0.108 272.5)
XYZxyz(2.9896, 2.1152, 10.8382)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A215E #5E571A
analogous
#1A435E #1A215E #351A5E
triadic
#1A215E #5E1A21 #215E1A
tetradic
#1A215E #5E1A43 #5E571A #1A5E35
square
#1A215E #5E1A43 #5E571A #1A5E35
split-complementary
#1A215E #5E351A #435E1A
monochromatic
#070818 #0D102E #1A215E #27328E #3543BE

Accessibility & contrast

On white

14.76
#1A215E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#1A215E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A215E
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A215E#FFFFFF#000000##FFFFFF
##1A215E1.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B60
Deuteranopia (green-blind)
#00255D
Tritanopia (blue-blind)
#00303C
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1a215e;
/* rgb */ color: rgb(26, 33, 94);
/* oklch */ color: oklch(28.4% 0.108 272.5);
Tailwind
colors: {
  custom: {
    50: '#615c8c',
    500: '#1a215e',
    950: '#000000',
  },
}
SCSS
$custom: #1a215e;
$custom-light: #615c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a215e",
  "rgb": {
    "r": 26,
    "g": 33,
    "b": 94
  },
  "hsl": {
    "h": 233.824,
    "s": 56.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.2843,
    "c": 0.10786,
    "h": 272.5
  },
  "luminance": 0.02115
}

Semantic roles & 50–950 ramp

primary
#1A215E
secondary
#948B40
accent
#D048E0
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040C
muted
#7A797D

Preview Lab

Preview with #1A215E

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

Preview Lab → · Contrast checker → · Palette generator →

#1A215E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva