#1D2094#1D2094

#1D2094 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.2% C 0.182 H 270.6°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#1D2094
RGBrgb(29, 32, 148)
HSLhsl(238, 67%, 35%)
HSVhsv(238, 80%, 58%)
CMYKcmyk(80.4%, 78.4%, 0%, 42%)
CIE-LABlab(21.70, 40.58, -62.70)
CIE-LCHlch(21.70, 74.69, 302.91°)
OKLaboklab(34.23% 0.0019 -0.1816)
OKLCHoklch(34.23% 0.182 270.6)
XYZxyz(6.3667, 3.4316, 28.3381)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2094 #94911D
analogous
#1D5C94 #1D2094 #551D94
triadic
#1D2094 #941D20 #20941D
tetradic
#1D2094 #941D5C #94911D #1D9455
square
#1D2094 #941D5C #94911D #1D9455
split-complementary
#1D2094 #94551D #5C941D
monochromatic
#090A2E #131561 #1D2094 #272BC7 #4F52DC

Accessibility & contrast

On white

12.45
#1D2094 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1D2094 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2094
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2094#FFFFFF#000000##FFFFFF
##1D20941.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A97
Deuteranopia (green-blind)
#002E92
Tritanopia (blue-blind)
#004359
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1d2094;
/* rgb */ color: rgb(29, 32, 148);
/* oklch */ color: oklch(34.2% 0.182 270.6);
Tailwind
colors: {
  custom: {
    50: '#705db5',
    500: '#1d2094',
    950: '#000000',
  },
}
SCSS
$custom: #1d2094;
$custom-light: #705db5;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2094",
  "rgb": {
    "r": 29,
    "g": 32,
    "b": 148
  },
  "hsl": {
    "h": 238.487,
    "s": 67.232,
    "l": 34.706
  },
  "oklch": {
    "l": 0.34228,
    "c": 0.18159,
    "h": 270.6
  },
  "luminance": 0.03432
}

Semantic roles & 50–950 ramp

primary
#1D2094
secondary
#BFBC4E
accent
#E63EEA
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1D2094

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

Preview Lab → · Contrast checker → · Palette generator →

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