#1D2E95#1D2E95

#1D2E95 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.6% C 0.168 H 268.6°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#1D2E95
RGBrgb(29, 46, 149)
HSLhsl(232, 67%, 35%)
HSVhsv(232, 81%, 58%)
CMYKcmyk(80.5%, 69.1%, 0%, 41.6%)
CIE-LABlab(24.90, 32.34, -58.02)
CIE-LCHlch(24.90, 66.43, 299.13°)
OKLaboklab(36.56% -0.0042 -0.168)
OKLCHoklch(36.56% 0.168 268.6)
XYZxyz(6.9066, 4.3843, 28.9102)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2E95 #95841D
analogous
#1D6A95 #1D2E95 #481D95
triadic
#1D2E95 #951D2E #2E951D
tetradic
#1D2E95 #951D6A #95841D #1D9548
square
#1D2E95 #951D6A #95841D #1D9548
split-complementary
#1D2E95 #95481D #6A951D
monochromatic
#090E2F #131E62 #1D2E95 #273EC8 #5064DD

Accessibility & contrast

On white

11.19
#1D2E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#1D2E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2E95
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2E95#FFFFFF#000000##FFFFFF
##1D2E951.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d2e95;
/* rgb */ color: rgb(29, 46, 149);
/* oklch */ color: oklch(36.6% 0.168 268.6);
Tailwind
colors: {
  custom: {
    50: '#6f67b5',
    500: '#1d2e95',
    950: '#000000',
  },
}
SCSS
$custom: #1d2e95;
$custom-light: #6f67b5;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2e95",
  "rgb": {
    "r": 29,
    "g": 46,
    "b": 149
  },
  "hsl": {
    "h": 231.5,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36558,
    "c": 0.16808,
    "h": 268.6
  },
  "luminance": 0.04385
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1D2E95

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

Preview Lab → · Contrast checker → · Palette generator →

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