#1D3363#1D3363

#1D3363 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.1% C 0.089 H 263.7°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#1D3363
RGBrgb(29, 51, 99)
HSLhsl(221, 55%, 25%)
HSVhsv(221, 71%, 39%)
CMYKcmyk(70.7%, 48.5%, 0%, 61.2%)
CIE-LABlab(22.05, 9.06, -31.01)
CIE-LCHlch(22.05, 32.31, 286.29°)
OKLaboklab(33.11% -0.0098 -0.0887)
OKLCHoklch(33.11% 0.089 263.7)
XYZxyz(3.9419, 3.5293, 12.2755)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3363 #634D1D
analogous
#1D5663 #1D3363 #2A1D63
triadic
#1D3363 #631D33 #33631D
tetradic
#1D3363 #631D56 #634D1D #1D632A
square
#1D3363 #631D56 #634D1D #1D632A
split-complementary
#1D3363 #632A1D #56631D
monochromatic
#070C18 #0F1B34 #1D3363 #2B4B92 #3964C2

Accessibility & contrast

On white

12.31
#1D3363 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1D3363 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3363
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3363#FFFFFF#000000##FFFFFF
##1D33631.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3865
Deuteranopia (green-blind)
#0E3262
Tritanopia (blue-blind)
#003E46
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1d3363;
/* rgb */ color: rgb(29, 51, 99);
/* oklch */ color: oklch(33.1% 0.089 263.7);
Tailwind
colors: {
  custom: {
    50: '#626a90',
    500: '#1d3363',
    950: '#000000',
  },
}
SCSS
$custom: #1d3363;
$custom-light: #626a90;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3363",
  "rgb": {
    "r": 29,
    "g": 51,
    "b": 99
  },
  "hsl": {
    "h": 221.143,
    "s": 54.688,
    "l": 25.098
  },
  "oklch": {
    "l": 0.33108,
    "c": 0.08923,
    "h": 263.7
  },
  "luminance": 0.0353
}

Semantic roles & 50–950 ramp

primary
#1D3363
secondary
#987E44
accent
#AF4ADE
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05060C
muted
#7A7A7D

Preview Lab

Preview with #1D3363

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

Preview Lab → · Contrast checker → · Palette generator →

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