#1D2893#1D2893

#1D2893 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.3% C 0.172 H 269.6°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#1D2893
RGBrgb(29, 40, 147)
HSLhsl(234, 67%, 35%)
HSVhsv(234, 80%, 58%)
CMYKcmyk(80.3%, 72.8%, 0%, 42.4%)
CIE-LABlab(23.29, 35.45, -59.45)
CIE-LCHlch(23.29, 69.22, 300.80°)
OKLaboklab(35.33% -0.0011 -0.1722)
OKLCHoklch(35.33% 0.172 269.6)
XYZxyz(6.5301, 3.8846, 28.0038)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2893 #93881D
analogous
#1D6393 #1D2893 #4D1D93
triadic
#1D2893 #931D28 #28931D
tetradic
#1D2893 #931D63 #93881D #1D934D
square
#1D2893 #931D63 #93881D #1D934D
split-complementary
#1D2893 #934D1D #63931D
monochromatic
#090C2D #131A60 #1D2893 #2736C6 #4E5BDC

Accessibility & contrast

On white

11.82
#1D2893 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#1D2893 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2893
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2893#FFFFFF#000000##FFFFFF
##1D28931.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D96
Deuteranopia (green-blind)
#003291
Tritanopia (blue-blind)
#00465A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1d2893;
/* rgb */ color: rgb(29, 40, 147);
/* oklch */ color: oklch(35.3% 0.172 269.6);
Tailwind
colors: {
  custom: {
    50: '#6f62b4',
    500: '#1d2893',
    950: '#000000',
  },
}
SCSS
$custom: #1d2893;
$custom-light: #6f62b4;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2893",
  "rgb": {
    "r": 29,
    "g": 40,
    "b": 147
  },
  "hsl": {
    "h": 234.407,
    "s": 67.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35327,
    "c": 0.1722,
    "h": 269.6
  },
  "luminance": 0.03885
}

Semantic roles & 50–950 ramp

primary
#1D2893
secondary
#BFB44D
accent
#DA3EEA
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #1D2893

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

Preview Lab → · Contrast checker → · Palette generator →

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