#1D2594#1D2594

#1D2594 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.0% C 0.177 H 270.0°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#1D2594
RGBrgb(29, 37, 148)
HSLhsl(236, 67%, 35%)
HSVhsv(236, 80%, 58%)
CMYKcmyk(80.4%, 75%, 0%, 42%)
CIE-LABlab(22.73, 37.66, -60.99)
CIE-LCHlch(22.73, 71.68, 301.69°)
OKLaboklab(34.96% 0 -0.1767)
OKLCHoklch(34.96% 0.177 270)
XYZxyz(6.5117, 3.7217, 28.3864)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2594 #948C1D
analogous
#1D6194 #1D2594 #501D94
triadic
#1D2594 #941D25 #25941D
tetradic
#1D2594 #941D61 #948C1D #1D9450
square
#1D2594 #941D61 #948C1D #1D9450
split-complementary
#1D2594 #94501D #61941D
monochromatic
#090B2E #131861 #1D2594 #2732C7 #4F58DC

Accessibility & contrast

On white

12.04
#1D2594 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D2594
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2594#FFFFFF#000000##FFFFFF
##1D25941.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.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: #1d2594;
/* rgb */ color: rgb(29, 37, 148);
/* oklch */ color: oklch(35.0% 0.177 270.0);
Tailwind
colors: {
  custom: {
    50: '#7061b5',
    500: '#1d2594',
    950: '#000000',
  },
}
SCSS
$custom: #1d2594;
$custom-light: #7061b5;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2594",
  "rgb": {
    "r": 29,
    "g": 37,
    "b": 148
  },
  "hsl": {
    "h": 235.966,
    "s": 67.232,
    "l": 34.706
  },
  "oklch": {
    "l": 0.34961,
    "c": 0.17666,
    "h": 270
  },
  "luminance": 0.03722
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1D2594

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

Preview Lab → · Contrast checker → · Palette generator →

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