#1A216E#1A216E

#1A216E is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.0% C 0.131 H 271.6°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#1A216E
RGBrgb(26, 33, 110)
HSLhsl(235, 62%, 27%)
HSVhsv(235, 76%, 43%)
CMYKcmyk(76.4%, 70%, 0%, 56.9%)
CIE-LABlab(17.61, 25.84, -45.39)
CIE-LCHlch(17.61, 52.23, 299.66°)
OKLaboklab(30.03% 0.0037 -0.1312)
OKLCHoklch(30.03% 0.131 271.6)
XYZxyz(3.7834, 2.4327, 15.0190)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A216E #6E671A
analogous
#1A4B6E #1A216E #3D1A6E
triadic
#1A216E #6E1A21 #216E1A
tetradic
#1A216E #6E1A4B #6E671A #1A6E3D
square
#1A216E #6E1A4B #6E671A #1A6E3D
split-complementary
#1A216E #6E3D1A #4B6E1A
monochromatic
#060719 #0E123D #1A216E #2630A0 #3440CF

Accessibility & contrast

On white

14.13
#1A216E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#1A216E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A216E
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A216E#FFFFFF#000000##FFFFFF
##1A216E1.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F70
Deuteranopia (green-blind)
#00276D
Tritanopia (blue-blind)
#003644
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1a216e;
/* rgb */ color: rgb(26, 33, 110);
/* oklch */ color: oklch(30.0% 0.131 271.6);
Tailwind
colors: {
  custom: {
    50: '#655c98',
    500: '#1a216e',
    950: '#000000',
  },
}
SCSS
$custom: #1a216e;
$custom-light: #655c98;
$custom-dark: #000000;
JSON
{
  "hex": "#1a216e",
  "rgb": {
    "r": 26,
    "g": 33,
    "b": 110
  },
  "hsl": {
    "h": 235,
    "s": 61.765,
    "l": 26.667
  },
  "oklch": {
    "l": 0.30025,
    "c": 0.13128,
    "h": 271.6
  },
  "luminance": 0.02433
}

Semantic roles & 50–950 ramp

primary
#1A216E
secondary
#A39B41
accent
#D743E5
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #1A216E

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

Preview Lab → · Contrast checker → · Palette generator →

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