#1D2D64#1D2D64

#1D2D64 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.8% C 0.099 H 268.1°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#1D2D64
RGBrgb(29, 45, 100)
HSLhsl(226, 55%, 25%)
HSVhsv(226, 71%, 39%)
CMYKcmyk(71%, 55%, 0%, 60.8%)
CIE-LABlab(20.27, 13.78, -34.52)
CIE-LCHlch(20.27, 37.17, 291.76°)
OKLaboklab(31.78% -0.0033 -0.0991)
OKLCHoklch(31.78% 0.099 268.1)
XYZxyz(3.7445, 3.0577, 12.4470)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2D64 #64541D
analogous
#1D5064 #1D2D64 #301D64
triadic
#1D2D64 #641D2D #2D641D
tetradic
#1D2D64 #641D50 #64541D #1D6430
square
#1D2D64 #641D50 #64541D #1D6430
split-complementary
#1D2D64 #64301D #50641D
monochromatic
#070B18 #0F1835 #1D2D64 #2B4293 #3958C3

Accessibility & contrast

On white

13.03
#1D2D64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1D2D64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2D64
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2D64#FFFFFF#000000##FFFFFF
##1D2D641.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3466
Deuteranopia (green-blind)
#002E63
Tritanopia (blue-blind)
#003A43
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1d2d64;
/* rgb */ color: rgb(29, 45, 100);
/* oklch */ color: oklch(31.8% 0.099 268.1);
Tailwind
colors: {
  custom: {
    50: '#626591',
    500: '#1d2d64',
    950: '#000000',
  },
}
SCSS
$custom: #1d2d64;
$custom-light: #626591;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2d64",
  "rgb": {
    "r": 29,
    "g": 45,
    "b": 100
  },
  "hsl": {
    "h": 226.479,
    "s": 55.039,
    "l": 25.294
  },
  "oklch": {
    "l": 0.31777,
    "c": 0.09917,
    "h": 268.1
  },
  "luminance": 0.03058
}

Semantic roles & 50–950 ramp

primary
#1D2D64
secondary
#998644
accent
#BD49DE
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06050D
muted
#7A7A7D

Preview Lab

Preview with #1D2D64

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

Preview Lab → · Contrast checker → · Palette generator →

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