#1A216A#1A216A

#1A216A is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.6% C 0.126 H 271.9°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#1A216A
RGBrgb(26, 33, 106)
HSLhsl(235, 61%, 26%)
HSVhsv(235, 75%, 42%)
CMYKcmyk(75.5%, 68.9%, 0%, 58.4%)
CIE-LABlab(17.21, 24.29, -43.43)
CIE-LCHlch(17.21, 49.76, 299.21°)
OKLaboklab(29.62% 0.0041 -0.1255)
OKLCHoklch(29.62% 0.126 271.9)
XYZxyz(3.5705, 2.3476, 13.8978)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A216A #6A631A
analogous
#1A496A #1A216A #3B1A6A
triadic
#1A216A #6A1A21 #216A1A
tetradic
#1A216A #6A1A49 #6A631A #1A6A3B
square
#1A216A #6A1A49 #6A631A #1A6A3B
split-complementary
#1A216A #6A3B1A #496A1A
monochromatic
#060819 #0E1239 #1A216A #26309B #3240CC

Accessibility & contrast

On white

14.29
#1A216A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A216A
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A216A#FFFFFF#000000##FFFFFF
##1A216A1.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6C
Deuteranopia (green-blind)
#002769
Tritanopia (blue-blind)
#003442
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1a216a;
/* rgb */ color: rgb(26, 33, 106);
/* oklch */ color: oklch(29.6% 0.126 271.9);
Tailwind
colors: {
  custom: {
    50: '#645c95',
    500: '#1a216a',
    950: '#000000',
  },
}
SCSS
$custom: #1a216a;
$custom-light: #645c95;
$custom-dark: #000000;
JSON
{
  "hex": "#1a216a",
  "rgb": {
    "r": 26,
    "g": 33,
    "b": 106
  },
  "hsl": {
    "h": 234.75,
    "s": 60.606,
    "l": 25.882
  },
  "oklch": {
    "l": 0.29615,
    "c": 0.12558,
    "h": 271.9
  },
  "luminance": 0.02348
}

Semantic roles & 50–950 ramp

primary
#1A216A
secondary
#9F9740
accent
#D644E4
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #1A216A

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

Preview Lab → · Contrast checker → · Palette generator →

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