#1D3261#1D3261

#1D3261 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.7% C 0.087 H 264.1°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#1D3261
RGBrgb(29, 50, 97)
HSLhsl(221, 54%, 25%)
HSVhsv(221, 70%, 38%)
CMYKcmyk(70.1%, 48.5%, 0%, 62%)
CIE-LABlab(21.60, 8.97, -30.43)
CIE-LCHlch(21.60, 31.73, 286.43°)
OKLaboklab(32.72% -0.009 -0.087)
OKLCHoklch(32.72% 0.087 264.1)
XYZxyz(3.8042, 3.4051, 11.7637)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3261 #614C1D
analogous
#1D5461 #1D3261 #2A1D61
triadic
#1D3261 #611D32 #32611D
tetradic
#1D3261 #611D54 #614C1D #1D612A
square
#1D3261 #611D54 #614C1D #1D612A
split-complementary
#1D3261 #612A1D #54611D
monochromatic
#070C18 #0F1A32 #1D3261 #2B4A90 #3963BF

Accessibility & contrast

On white

12.49
#1D3261 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D3261
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3261#FFFFFF#000000##FFFFFF
##1D32611.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3763
Deuteranopia (green-blind)
#0F3160
Tritanopia (blue-blind)
#003D44
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1d3261;
/* rgb */ color: rgb(29, 50, 97);
/* oklch */ color: oklch(32.7% 0.087 264.1);
Tailwind
colors: {
  custom: {
    50: '#61698e',
    500: '#1d3261',
    950: '#000000',
  },
}
SCSS
$custom: #1d3261;
$custom-light: #61698e;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3261",
  "rgb": {
    "r": 29,
    "g": 50,
    "b": 97
  },
  "hsl": {
    "h": 221.471,
    "s": 53.968,
    "l": 24.706
  },
  "oklch": {
    "l": 0.32717,
    "c": 0.08746,
    "h": 264.1
  },
  "luminance": 0.03405
}

Semantic roles & 50–950 ramp

primary
#1D3261
secondary
#967D44
accent
#B04ADD
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05060C
muted
#7A7A7D

Preview Lab

Preview with #1D3261

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

Preview Lab → · Contrast checker → · Palette generator →

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