#1D2495#1D2495

#1D2495 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.9% C 0.179 H 270.1°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#1D2495
RGBrgb(29, 36, 149)
HSLhsl(237, 67%, 35%)
HSVhsv(237, 81%, 58%)
CMYKcmyk(80.5%, 75.8%, 0%, 41.6%)
CIE-LABlab(22.63, 38.61, -61.78)
CIE-LCHlch(22.63, 72.85, 302.00°)
OKLaboklab(34.92% 0.0003 -0.1789)
OKLCHoklch(34.92% 0.179 270.1)
XYZxyz(6.5605, 3.6921, 28.7948)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2495 #958E1D
analogous
#1D6095 #1D2495 #521D95
triadic
#1D2495 #951D24 #24951D
tetradic
#1D2495 #951D60 #958E1D #1D9552
square
#1D2495 #951D60 #958E1D #1D9552
split-complementary
#1D2495 #95521D #60951D
monochromatic
#090B2F #131862 #1D2495 #2730C8 #5058DD

Accessibility & contrast

On white

12.08
#1D2495 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#1D2495 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2495
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2495#FFFFFF#000000##FFFFFF
##1D24951.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C98
Deuteranopia (green-blind)
#003093
Tritanopia (blue-blind)
#00455B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1d2495;
/* rgb */ color: rgb(29, 36, 149);
/* oklch */ color: oklch(34.9% 0.179 270.1);
Tailwind
colors: {
  custom: {
    50: '#7060b5',
    500: '#1d2495',
    950: '#000000',
  },
}
SCSS
$custom: #1d2495;
$custom-light: #7060b5;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2495",
  "rgb": {
    "r": 29,
    "g": 36,
    "b": 149
  },
  "hsl": {
    "h": 236.5,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.3492,
    "c": 0.17894,
    "h": 270.1
  },
  "luminance": 0.03693
}

Semantic roles & 50–950 ramp

primary
#1D2495
secondary
#C0B94E
accent
#E03DEA
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #1D2495

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

Preview Lab → · Contrast checker → · Palette generator →

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