#1D2C63#1D2C63

#1D2C63 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.5% C 0.099 H 268.6°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#1D2C63
RGBrgb(29, 44, 99)
HSLhsl(227, 55%, 25%)
HSVhsv(227, 71%, 39%)
CMYKcmyk(70.7%, 55.6%, 0%, 61.2%)
CIE-LABlab(19.90, 14.10, -34.48)
CIE-LCHlch(19.90, 37.25, 292.24°)
OKLaboklab(31.47% -0.0023 -0.099)
OKLCHoklch(31.47% 0.099 268.6)
XYZxyz(3.6587, 2.9631, 12.1811)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2C63 #63541D
analogous
#1D4F63 #1D2C63 #311D63
triadic
#1D2C63 #631D2C #2C631D
tetradic
#1D2C63 #631D4F #63541D #1D6331
square
#1D2C63 #631D4F #63541D #1D6331
split-complementary
#1D2C63 #63311D #4F631D
monochromatic
#070B18 #0F1734 #1D2C63 #2B4192 #3956C2

Accessibility & contrast

On white

13.19
#1D2C63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#1D2C63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2C63
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2C63#FFFFFF#000000##FFFFFF
##1D2C631.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093365
Deuteranopia (green-blind)
#002D62
Tritanopia (blue-blind)
#003943
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1d2c63;
/* rgb */ color: rgb(29, 44, 99);
/* oklch */ color: oklch(31.5% 0.099 268.6);
Tailwind
colors: {
  custom: {
    50: '#626490',
    500: '#1d2c63',
    950: '#000000',
  },
}
SCSS
$custom: #1d2c63;
$custom-light: #626490;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2c63",
  "rgb": {
    "r": 29,
    "g": 44,
    "b": 99
  },
  "hsl": {
    "h": 227.143,
    "s": 54.688,
    "l": 25.098
  },
  "oklch": {
    "l": 0.31466,
    "c": 0.09904,
    "h": 268.6
  },
  "luminance": 0.02963
}

Semantic roles & 50–950 ramp

primary
#1D2C63
secondary
#988644
accent
#BE4ADE
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06050C
muted
#7A7A7D

Preview Lab

Preview with #1D2C63

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

Preview Lab → · Contrast checker → · Palette generator →

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