#1D216F#1D216F

#1D216F is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.3% C 0.132 H 273.1°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#1D216F
RGBrgb(29, 33, 111)
HSLhsl(237, 59%, 27%)
HSVhsv(237, 74%, 44%)
CMYKcmyk(73.9%, 70.3%, 0%, 56.5%)
CIE-LABlab(17.90, 26.61, -45.55)
CIE-LCHlch(17.90, 52.75, 300.29°)
OKLaboklab(30.32% 0.0072 -0.1316)
OKLCHoklch(30.32% 0.132 273.1)
XYZxyz(3.9188, 2.4962, 15.3111)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D216F #6F6B1D
analogous
#1D4A6F #1D216F #421D6F
triadic
#1D216F #6F1D21 #216F1D
tetradic
#1D216F #6F1D4A #6F6B1D #1D6F42
square
#1D216F #6F1D4A #6F6B1D #1D6F42
split-complementary
#1D216F #6F421D #4A6F1D
monochromatic
#060718 #10133E #1D216F #2A2FA0 #3B42CC

Accessibility & contrast

On white

14.01
#1D216F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#1D216F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D216F
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D216F#FFFFFF#000000##FFFFFF
##1D216F1.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003071
Deuteranopia (green-blind)
#00286E
Tritanopia (blue-blind)
#003645
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1d216f;
/* rgb */ color: rgb(29, 33, 111);
/* oklch */ color: oklch(30.3% 0.132 273.1);
Tailwind
colors: {
  custom: {
    50: '#665c99',
    500: '#1d216f',
    950: '#000000',
  },
}
SCSS
$custom: #1d216f;
$custom-light: #665c99;
$custom-dark: #000000;
JSON
{
  "hex": "#1d216f",
  "rgb": {
    "r": 29,
    "g": 33,
    "b": 111
  },
  "hsl": {
    "h": 237.073,
    "s": 58.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.30318,
    "c": 0.13183,
    "h": 273.1
  },
  "luminance": 0.02497
}

Semantic roles & 50–950 ramp

primary
#1D216F
secondary
#A39F44
accent
#DA46E2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1D216F

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

Preview Lab → · Contrast checker → · Palette generator →

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