#1A216B#1A216B

#1A216B is a dark, vivid blue. Relative luminance 0.024; OKLCH L 29.7% C 0.127 H 271.8°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#1A216B
RGBrgb(26, 33, 107)
HSLhsl(235, 61%, 26%)
HSVhsv(235, 76%, 42%)
CMYKcmyk(75.7%, 69.2%, 0%, 58%)
CIE-LABlab(17.31, 24.68, -43.92)
CIE-LCHlch(17.31, 50.38, 299.33°)
OKLaboklab(29.72% 0.004 -0.1269)
OKLCHoklch(29.72% 0.127 271.8)
XYZxyz(3.6228, 2.3685, 14.1733)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A216B #6B641A
analogous
#1A496B #1A216B #3B1A6B
triadic
#1A216B #6B1A21 #216B1A
tetradic
#1A216B #6B1A49 #6B641A #1A6B3B
square
#1A216B #6B1A49 #6B641A #1A6B3B
split-complementary
#1A216B #6B3B1A #496B1A
monochromatic
#060819 #0E123A #1A216B #26309C #3240CD

Accessibility & contrast

On white

14.25
#1A216B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#1A216B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A216B
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A216B#FFFFFF#000000##FFFFFF
##1A216B1.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6D
Deuteranopia (green-blind)
#00276A
Tritanopia (blue-blind)
#003542
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1a216b;
/* rgb */ color: rgb(26, 33, 107);
/* oklch */ color: oklch(29.7% 0.127 271.8);
Tailwind
colors: {
  custom: {
    50: '#645c96',
    500: '#1a216b',
    950: '#000000',
  },
}
SCSS
$custom: #1a216b;
$custom-light: #645c96;
$custom-dark: #000000;
JSON
{
  "hex": "#1a216b",
  "rgb": {
    "r": 26,
    "g": 33,
    "b": 107
  },
  "hsl": {
    "h": 234.815,
    "s": 60.902,
    "l": 26.078
  },
  "oklch": {
    "l": 0.29717,
    "c": 0.12701,
    "h": 271.8
  },
  "luminance": 0.02369
}

Semantic roles & 50–950 ramp

primary
#1A216B
secondary
#A09840
accent
#D644E4
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #1A216B

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

Preview Lab → · Contrast checker → · Palette generator →

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