#1A216F#1A216F

#1A216F is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.1% C 0.133 H 271.6°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#1A216F
RGBrgb(26, 33, 111)
HSLhsl(235, 62%, 27%)
HSVhsv(235, 77%, 44%)
CMYKcmyk(76.6%, 70.3%, 0%, 56.5%)
CIE-LABlab(17.71, 26.23, -45.87)
CIE-LCHlch(17.71, 52.84, 299.76°)
OKLaboklab(30.13% 0.0036 -0.1326)
OKLCHoklch(30.13% 0.133 271.6)
XYZxyz(3.8381, 2.4546, 15.3074)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A216F #6F681A
analogous
#1A4C6F #1A216F #3E1A6F
triadic
#1A216F #6F1A21 #216F1A
tetradic
#1A216F #6F1A4C #6F681A #1A6F3E
square
#1A216F #6F1A4C #6F681A #1A6F3E
split-complementary
#1A216F #6F3E1A #4C6F1A
monochromatic
#060719 #0E123D #1A216F #2630A1 #3441CF

Accessibility & contrast

On white

14.08
#1A216F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A216F
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A216F#FFFFFF#000000##FFFFFF
##1A216F1.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F71
Deuteranopia (green-blind)
#00276E
Tritanopia (blue-blind)
#003645
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1a216f;
/* rgb */ color: rgb(26, 33, 111);
/* oklch */ color: oklch(30.1% 0.133 271.6);
Tailwind
colors: {
  custom: {
    50: '#655c99',
    500: '#1a216f',
    950: '#000000',
  },
}
SCSS
$custom: #1a216f;
$custom-light: #655c99;
$custom-dark: #000000;
JSON
{
  "hex": "#1a216f",
  "rgb": {
    "r": 26,
    "g": 33,
    "b": 111
  },
  "hsl": {
    "h": 235.059,
    "s": 62.044,
    "l": 26.863
  },
  "oklch": {
    "l": 0.30129,
    "c": 0.13269,
    "h": 271.6
  },
  "luminance": 0.02455
}

Semantic roles & 50–950 ramp

primary
#1A216F
secondary
#A49C41
accent
#D843E5
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #1A216F

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

Preview Lab → · Contrast checker → · Palette generator →

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