#1D2F9A#1D2F9A

#1D2F9A is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.2% C 0.173 H 268.3°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#1D2F9A
RGBrgb(29, 47, 154)
HSLhsl(231, 68%, 36%)
HSVhsv(231, 81%, 60%)
CMYKcmyk(81.2%, 69.5%, 0%, 39.6%)
CIE-LABlab(25.64, 33.56, -59.87)
CIE-LCHlch(25.64, 68.64, 299.27°)
OKLaboklab(37.25% -0.0051 -0.1734)
OKLCHoklch(37.25% 0.173 268.3)
XYZxyz(7.3539, 4.6265, 31.0710)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2F9A #9A881D
analogous
#1D6D9A #1D2F9A #491D9A
triadic
#1D2F9A #9A1D2F #2F9A1D
tetradic
#1D2F9A #9A1D6D #9A881D #1D9A49
square
#1D2F9A #9A1D6D #9A881D #1D9A49
split-complementary
#1D2F9A #9A491D #6D9A1D
monochromatic
#0A1033 #131F66 #1D2F9A #273FCE #5367DF

Accessibility & contrast

On white

10.91
#1D2F9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#1D2F9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2F9A
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2F9A#FFFFFF#000000##FFFFFF
##1D2F9A1.0010.911.9310.91
#FFFFFF10.911.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439D
Deuteranopia (green-blind)
#003798
Tritanopia (blue-blind)
#004C60
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1d2f9a;
/* rgb */ color: rgb(29, 47, 154);
/* oklch */ color: oklch(37.2% 0.173 268.3);
Tailwind
colors: {
  custom: {
    50: '#7067b9',
    500: '#1d2f9a',
    950: '#000000',
  },
}
SCSS
$custom: #1d2f9a;
$custom-light: #7067b9;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2f9a",
  "rgb": {
    "r": 29,
    "g": 47,
    "b": 154
  },
  "hsl": {
    "h": 231.36,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37247,
    "c": 0.17349,
    "h": 268.3
  },
  "luminance": 0.04627
}

Semantic roles & 50–950 ramp

primary
#1D2F9A
secondary
#C2B151
accent
#D23DEB
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1D2F9A

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

Preview Lab → · Contrast checker → · Palette generator →

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