#1D2195#1D2195

#1D2195 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.5% C 0.182 H 270.4°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#1D2195
RGBrgb(29, 33, 149)
HSLhsl(238, 67%, 35%)
HSVhsv(238, 81%, 58%)
CMYKcmyk(80.5%, 77.9%, 0%, 41.6%)
CIE-LABlab(22.01, 40.36, -62.80)
CIE-LCHlch(22.01, 74.65, 302.73°)
OKLaboklab(34.48% 0.0013 -0.1819)
OKLCHoklch(34.48% 0.182 270.4)
XYZxyz(6.4735, 3.5181, 28.7658)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2195 #95911D
analogous
#1D5D95 #1D2195 #551D95
triadic
#1D2195 #951D21 #21951D
tetradic
#1D2195 #951D5D #95911D #1D9555
square
#1D2195 #951D5D #95911D #1D9555
split-complementary
#1D2195 #95551D #5D951D
monochromatic
#090A2F #131662 #1D2195 #272CC8 #5054DD

Accessibility & contrast

On white

12.33
#1D2195 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#1D2195 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2195
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2195#FFFFFF#000000##FFFFFF
##1D21951.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B98
Deuteranopia (green-blind)
#002F93
Tritanopia (blue-blind)
#00445A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1d2195;
/* rgb */ color: rgb(29, 33, 149);
/* oklch */ color: oklch(34.5% 0.182 270.4);
Tailwind
colors: {
  custom: {
    50: '#705eb5',
    500: '#1d2195',
    950: '#000000',
  },
}
SCSS
$custom: #1d2195;
$custom-light: #705eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2195",
  "rgb": {
    "r": 29,
    "g": 33,
    "b": 149
  },
  "hsl": {
    "h": 238,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.34483,
    "c": 0.18187,
    "h": 270.4
  },
  "luminance": 0.03519
}

Semantic roles & 50–950 ramp

primary
#1D2195
secondary
#C0BC4E
accent
#E53DEA
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1D2195

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

Preview Lab → · Contrast checker → · Palette generator →

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