#1D2D6F#1D2D6F

#1D2D6F is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.7% C 0.116 H 268.8°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#1D2D6F
RGBrgb(29, 45, 111)
HSLhsl(228, 59%, 27%)
HSVhsv(228, 74%, 44%)
CMYKcmyk(73.9%, 59.5%, 0%, 56.5%)
CIE-LABlab(21.15, 18.21, -40.25)
CIE-LCHlch(21.15, 44.17, 294.34°)
OKLaboklab(32.72% -0.0025 -0.1159)
OKLCHoklch(32.72% 0.116 268.8)
XYZxyz(4.3133, 3.2852, 15.4426)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2D6F #6F5F1D
analogous
#1D566F #1D2D6F #361D6F
triadic
#1D2D6F #6F1D2D #2D6F1D
tetradic
#1D2D6F #6F1D56 #6F5F1D #1D6F36
square
#1D2D6F #6F1D56 #6F5F1D #1D6F36
split-complementary
#1D2D6F #6F361D #566F1D
monochromatic
#060A18 #10193E #1D2D6F #2A41A0 #3B57CC

Accessibility & contrast

On white

12.67
#1D2D6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#1D2D6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2D6F
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2D6F#FFFFFF#000000##FFFFFF
##1D2D6F1.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003771
Deuteranopia (green-blind)
#002F6E
Tritanopia (blue-blind)
#003D49
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1d2d6f;
/* rgb */ color: rgb(29, 45, 111);
/* oklch */ color: oklch(32.7% 0.116 268.8);
Tailwind
colors: {
  custom: {
    50: '#656599',
    500: '#1d2d6f',
    950: '#000000',
  },
}
SCSS
$custom: #1d2d6f;
$custom-light: #656599;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2d6f",
  "rgb": {
    "r": 29,
    "g": 45,
    "b": 111
  },
  "hsl": {
    "h": 228.293,
    "s": 58.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.32717,
    "c": 0.11598,
    "h": 268.8
  },
  "luminance": 0.03286
}

Semantic roles & 50–950 ramp

primary
#1D2D6F
secondary
#A39144
accent
#C346E2
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #1D2D6F

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

Preview Lab → · Contrast checker → · Palette generator →

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