#1D2D63#1D2D63

#1D2D63 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.7% C 0.098 H 268.0°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#1D2D63
RGBrgb(29, 45, 99)
HSLhsl(226, 55%, 25%)
HSVhsv(226, 71%, 39%)
CMYKcmyk(70.7%, 54.5%, 0%, 61.2%)
CIE-LABlab(20.20, 13.38, -33.99)
CIE-LCHlch(20.20, 36.53, 291.48°)
OKLaboklab(31.7% -0.0034 -0.0975)
OKLCHoklch(31.7% 0.098 268)
XYZxyz(3.6964, 3.0385, 12.1936)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2D63 #63531D
analogous
#1D5063 #1D2D63 #301D63
triadic
#1D2D63 #631D2D #2D631D
tetradic
#1D2D63 #631D50 #63531D #1D6330
square
#1D2D63 #631D50 #63531D #1D6330
split-complementary
#1D2D63 #63301D #50631D
monochromatic
#070B18 #0F1734 #1D2D63 #2B4392 #3958C2

Accessibility & contrast

On white

13.06
#1D2D63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D2D63
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2D63#FFFFFF#000000##FFFFFF
##1D2D631.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d2d63;
/* rgb */ color: rgb(29, 45, 99);
/* oklch */ color: oklch(31.7% 0.098 268.0);
Tailwind
colors: {
  custom: {
    50: '#626590',
    500: '#1d2d63',
    950: '#000000',
  },
}
SCSS
$custom: #1d2d63;
$custom-light: #626590;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2d63",
  "rgb": {
    "r": 29,
    "g": 45,
    "b": 99
  },
  "hsl": {
    "h": 226.286,
    "s": 54.688,
    "l": 25.098
  },
  "oklch": {
    "l": 0.31695,
    "c": 0.09761,
    "h": 268
  },
  "luminance": 0.03039
}

Semantic roles & 50–950 ramp

primary
#1D2D63
secondary
#988544
accent
#BC4ADE
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06050C
muted
#7A7A7D

Preview Lab

Preview with #1D2D63

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

Preview Lab → · Contrast checker → · Palette generator →

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