#1D2091#1D2091

#1D2091 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.9% C 0.178 H 270.8°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#1D2091
RGBrgb(29, 32, 145)
HSLhsl(238, 67%, 34%)
HSVhsv(238, 80%, 57%)
CMYKcmyk(80%, 77.9%, 0%, 43.1%)
CIE-LABlab(21.35, 39.55, -61.42)
CIE-LCHlch(21.35, 73.05, 302.78°)
OKLaboklab(33.88% 0.0024 -0.1778)
OKLCHoklch(33.88% 0.178 270.8)
XYZxyz(6.1323, 3.3379, 27.1037)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2091 #918E1D
analogous
#1D5A91 #1D2091 #541D91
triadic
#1D2091 #911D20 #20911D
tetradic
#1D2091 #911D5A #918E1D #1D9154
square
#1D2091 #911D5A #918E1D #1D9154
split-complementary
#1D2091 #91541D #5A911D
monochromatic
#09092B #13155E #1D2091 #272BC4 #4D51DB

Accessibility & contrast

On white

12.59
#1D2091 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#1D2091 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2091
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2091#FFFFFF#000000##FFFFFF
##1D20911.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003994
Deuteranopia (green-blind)
#002D8F
Tritanopia (blue-blind)
#004257
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1d2091;
/* rgb */ color: rgb(29, 32, 145);
/* oklch */ color: oklch(33.9% 0.178 270.8);
Tailwind
colors: {
  custom: {
    50: '#6f5db2',
    500: '#1d2091',
    950: '#000000',
  },
}
SCSS
$custom: #1d2091;
$custom-light: #6f5db2;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2091",
  "rgb": {
    "r": 29,
    "g": 32,
    "b": 145
  },
  "hsl": {
    "h": 238.448,
    "s": 66.667,
    "l": 34.118
  },
  "oklch": {
    "l": 0.33882,
    "c": 0.17787,
    "h": 270.8
  },
  "luminance": 0.03339
}

Semantic roles & 50–950 ramp

primary
#1D2091
secondary
#BEBB4C
accent
#E53EEA
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1D2091

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

Preview Lab → · Contrast checker → · Palette generator →

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