#1D2095#1D2095

#1D2095 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.3% C 0.183 H 270.5°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#1D2095
RGBrgb(29, 32, 149)
HSLhsl(239, 67%, 35%)
HSVhsv(239, 81%, 58%)
CMYKcmyk(80.5%, 78.5%, 0%, 41.6%)
CIE-LABlab(21.81, 40.92, -63.13)
CIE-LCHlch(21.81, 75.23, 302.95°)
OKLaboklab(34.34% 0.0017 -0.1828)
OKLCHoklch(34.34% 0.183 270.5)
XYZxyz(6.4462, 3.4634, 28.7567)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2095 #95921D
analogous
#1D5C95 #1D2095 #561D95
triadic
#1D2095 #951D20 #20951D
tetradic
#1D2095 #951D5C #95921D #1D9556
square
#1D2095 #951D5C #95921D #1D9556
split-complementary
#1D2095 #95561D #5C951D
monochromatic
#090A2F #131562 #1D2095 #272BC8 #5053DD

Accessibility & contrast

On white

12.41
#1D2095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D2095
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2095#FFFFFF#000000##FFFFFF
##1D20951.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A98
Deuteranopia (green-blind)
#002E93
Tritanopia (blue-blind)
#00435A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1d2095;
/* rgb */ color: rgb(29, 32, 149);
/* oklch */ color: oklch(34.3% 0.183 270.5);
Tailwind
colors: {
  custom: {
    50: '#705db5',
    500: '#1d2095',
    950: '#000000',
  },
}
SCSS
$custom: #1d2095;
$custom-light: #705db5;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2095",
  "rgb": {
    "r": 29,
    "g": 32,
    "b": 149
  },
  "hsl": {
    "h": 238.5,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.34343,
    "c": 0.18282,
    "h": 270.5
  },
  "luminance": 0.03464
}

Semantic roles & 50–950 ramp

primary
#1D2095
secondary
#C0BD4E
accent
#E63DEA
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1D2095

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

Preview Lab → · Contrast checker → · Palette generator →

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