#1D2394#1D2394

#1D2394 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.7% C 0.179 H 270.3°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#1D2394
RGBrgb(29, 35, 148)
HSLhsl(237, 67%, 35%)
HSVhsv(237, 80%, 58%)
CMYKcmyk(80.4%, 76.4%, 0%, 42%)
CIE-LABlab(22.30, 38.85, -61.69)
CIE-LCHlch(22.30, 72.91, 302.20°)
OKLaboklab(34.66% 0.0008 -0.1787)
OKLCHoklch(34.66% 0.179 270.3)
XYZxyz(6.4512, 3.6007, 28.3662)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2394 #948E1D
analogous
#1D5E94 #1D2394 #531D94
triadic
#1D2394 #941D23 #23941D
tetradic
#1D2394 #941D5E #948E1D #1D9453
square
#1D2394 #941D5E #948E1D #1D9453
split-complementary
#1D2394 #94531D #5E941D
monochromatic
#090B2E #131761 #1D2394 #272FC7 #4F56DC

Accessibility & contrast

On white

12.21
#1D2394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#1D2394 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2394
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2394#FFFFFF#000000##FFFFFF
##1D23941.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B97
Deuteranopia (green-blind)
#002F92
Tritanopia (blue-blind)
#00445A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1d2394;
/* rgb */ color: rgb(29, 35, 148);
/* oklch */ color: oklch(34.7% 0.179 270.3);
Tailwind
colors: {
  custom: {
    50: '#705fb5',
    500: '#1d2394',
    950: '#000000',
  },
}
SCSS
$custom: #1d2394;
$custom-light: #705fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2394",
  "rgb": {
    "r": 29,
    "g": 35,
    "b": 148
  },
  "hsl": {
    "h": 236.975,
    "s": 67.232,
    "l": 34.706
  },
  "oklch": {
    "l": 0.34659,
    "c": 0.17868,
    "h": 270.3
  },
  "luminance": 0.03601
}

Semantic roles & 50–950 ramp

primary
#1D2394
secondary
#BFB94E
accent
#E13EEA
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #1D2394

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

Preview Lab → · Contrast checker → · Palette generator →

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