#1D2494#1D2494

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

Color values

HEX#1D2494
RGBrgb(29, 36, 148)
HSLhsl(236, 67%, 35%)
HSVhsv(236, 80%, 58%)
CMYKcmyk(80.4%, 75.7%, 0%, 42%)
CIE-LABlab(22.52, 38.26, -61.34)
CIE-LCHlch(22.52, 72.30, 301.95°)
OKLaboklab(34.81% 0.0004 -0.1777)
OKLCHoklch(34.81% 0.178 270.1)
XYZxyz(6.4810, 3.6603, 28.3762)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2494 #948D1D
analogous
#1D5F94 #1D2494 #521D94
triadic
#1D2494 #941D24 #24941D
tetradic
#1D2494 #941D5F #948D1D #1D9452
square
#1D2494 #941D5F #948D1D #1D9452
split-complementary
#1D2494 #94521D #5F941D
monochromatic
#090B2E #131861 #1D2494 #2730C7 #4F57DC

Accessibility & contrast

On white

12.12
#1D2494 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#1D2494 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2494
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2494#FFFFFF#000000##FFFFFF
##1D24941.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C97
Deuteranopia (green-blind)
#003092
Tritanopia (blue-blind)
#00455A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1d2494;
/* rgb */ color: rgb(29, 36, 148);
/* oklch */ color: oklch(34.8% 0.178 270.1);
Tailwind
colors: {
  custom: {
    50: '#7060b5',
    500: '#1d2494',
    950: '#000000',
  },
}
SCSS
$custom: #1d2494;
$custom-light: #7060b5;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2494",
  "rgb": {
    "r": 29,
    "g": 36,
    "b": 148
  },
  "hsl": {
    "h": 236.471,
    "s": 67.232,
    "l": 34.706
  },
  "oklch": {
    "l": 0.34808,
    "c": 0.17768,
    "h": 270.1
  },
  "luminance": 0.03661
}

Semantic roles & 50–950 ramp

primary
#1D2494
secondary
#BFB84E
accent
#E03EEA
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #1D2494

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

Preview Lab → · Contrast checker → · Palette generator →

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