#1D2F9D#1D2F9D

#1D2F9D is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.6% C 0.177 H 268.3°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#1D2F9D
RGBrgb(29, 47, 157)
HSLhsl(232, 69%, 36%)
HSVhsv(232, 82%, 62%)
CMYKcmyk(81.5%, 70.1%, 0%, 38.4%)
CIE-LABlab(25.94, 34.68, -61.21)
CIE-LCHlch(25.94, 70.35, 299.53°)
OKLaboklab(37.56% -0.0053 -0.1773)
OKLCHoklch(37.56% 0.177 268.3)
XYZxyz(7.6069, 4.7277, 32.4034)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2F9D #9D8B1D
analogous
#1D6F9D #1D2F9D #4B1D9D
triadic
#1D2F9D #9D1D2F #2F9D1D
tetradic
#1D2F9D #9D1D6F #9D8B1D #1D9D4B
square
#1D2F9D #9D1D6F #9D8B1D #1D9D4B
split-complementary
#1D2F9D #9D4B1D #6F9D1D
monochromatic
#0A1036 #132069 #1D2F9D #273ED1 #5568E0

Accessibility & contrast

On white

10.79
#1D2F9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#1D2F9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2F9D
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2F9D#FFFFFF#000000##FFFFFF
##1D2F9D1.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A0
Deuteranopia (green-blind)
#00379B
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1d2f9d;
/* rgb */ color: rgb(29, 47, 157);
/* oklch */ color: oklch(37.6% 0.177 268.3);
Tailwind
colors: {
  custom: {
    50: '#7168bb',
    500: '#1d2f9d',
    950: '#000000',
  },
}
SCSS
$custom: #1d2f9d;
$custom-light: #7168bb;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2f9d",
  "rgb": {
    "r": 29,
    "g": 47,
    "b": 157
  },
  "hsl": {
    "h": 231.563,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37556,
    "c": 0.1774,
    "h": 268.3
  },
  "luminance": 0.04729
}

Semantic roles & 50–950 ramp

primary
#1D2F9D
secondary
#C3B353
accent
#D33CEC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1D2F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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