#1D2D95#1D2D95

#1D2D95 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.4% C 0.169 H 268.8°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#1D2D95
RGBrgb(29, 45, 149)
HSLhsl(232, 67%, 35%)
HSVhsv(232, 81%, 58%)
CMYKcmyk(80.5%, 69.8%, 0%, 41.6%)
CIE-LABlab(24.66, 32.99, -58.42)
CIE-LCHlch(24.66, 67.09, 299.45°)
OKLaboklab(36.38% -0.0037 -0.1692)
OKLCHoklch(36.38% 0.169 268.8)
XYZxyz(6.8680, 4.3071, 28.8973)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2D95 #95851D
analogous
#1D6995 #1D2D95 #491D95
triadic
#1D2D95 #951D2D #2D951D
tetradic
#1D2D95 #951D69 #95851D #1D9549
square
#1D2D95 #951D69 #95851D #1D9549
split-complementary
#1D2D95 #95491D #69951D
monochromatic
#090E2F #131E62 #1D2D95 #273CC8 #5062DD

Accessibility & contrast

On white

11.28
#1D2D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#1D2D95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2D95
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2D95#FFFFFF#000000##FFFFFF
##1D2D951.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004098
Deuteranopia (green-blind)
#003593
Tritanopia (blue-blind)
#004A5D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1d2d95;
/* rgb */ color: rgb(29, 45, 149);
/* oklch */ color: oklch(36.4% 0.169 268.8);
Tailwind
colors: {
  custom: {
    50: '#6f66b5',
    500: '#1d2d95',
    950: '#000000',
  },
}
SCSS
$custom: #1d2d95;
$custom-light: #6f66b5;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2d95",
  "rgb": {
    "r": 29,
    "g": 45,
    "b": 149
  },
  "hsl": {
    "h": 232,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36383,
    "c": 0.16923,
    "h": 268.8
  },
  "luminance": 0.04308
}

Semantic roles & 50–950 ramp

primary
#1D2D95
secondary
#C0B04E
accent
#D33DEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #1D2D95

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

Preview Lab → · Contrast checker → · Palette generator →

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