#1D3166#1D3166

#1D3166 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.9% C 0.097 H 265.8°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#1D3166
RGBrgb(29, 49, 102)
HSLhsl(224, 56%, 26%)
HSVhsv(224, 72%, 40%)
CMYKcmyk(71.6%, 52%, 0%, 60%)
CIE-LABlab(21.64, 11.71, -33.62)
CIE-LCHlch(21.64, 35.60, 289.19°)
OKLaboklab(32.86% -0.0071 -0.0964)
OKLCHoklch(32.86% 0.097 265.8)
XYZxyz(4.0024, 3.4168, 13.0164)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3166 #66521D
analogous
#1D5566 #1D3166 #2E1D66
triadic
#1D3166 #661D31 #31661D
tetradic
#1D3166 #661D55 #66521D #1D662E
square
#1D3166 #661D55 #66521D #1D662E
split-complementary
#1D3166 #662E1D #55661D
monochromatic
#070B18 #0F1A36 #1D3166 #2B4896 #385FC5

Accessibility & contrast

On white

12.47
#1D3166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1D3166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3166
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3166#FFFFFF#000000##FFFFFF
##1D31661.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143768
Deuteranopia (green-blind)
#023165
Tritanopia (blue-blind)
#003D46
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1d3166;
/* rgb */ color: rgb(29, 49, 102);
/* oklch */ color: oklch(32.9% 0.097 265.8);
Tailwind
colors: {
  custom: {
    50: '#636892',
    500: '#1d3166',
    950: '#000000',
  },
}
SCSS
$custom: #1d3166;
$custom-light: #636892;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3166",
  "rgb": {
    "r": 29,
    "g": 49,
    "b": 102
  },
  "hsl": {
    "h": 223.562,
    "s": 55.725,
    "l": 25.686
  },
  "oklch": {
    "l": 0.32864,
    "c": 0.09666,
    "h": 265.8
  },
  "luminance": 0.03417
}

Semantic roles & 50–950 ramp

primary
#1D3166
secondary
#9B8344
accent
#B649DF
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #1D3166

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

Preview Lab → · Contrast checker → · Palette generator →

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