#1D3262#1D3262

#1D3262 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.8% C 0.089 H 264.3°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#1D3262
RGBrgb(29, 50, 98)
HSLhsl(222, 54%, 25%)
HSVhsv(222, 70%, 38%)
CMYKcmyk(70.4%, 49%, 0%, 61.6%)
CIE-LABlab(21.67, 9.37, -30.97)
CIE-LCHlch(21.67, 32.36, 286.84°)
OKLaboklab(32.79% -0.0089 -0.0886)
OKLCHoklch(32.79% 0.089 264.3)
XYZxyz(3.8511, 3.4239, 12.0108)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3262 #624D1D
analogous
#1D5562 #1D3262 #2A1D62
triadic
#1D3262 #621D32 #32621D
tetradic
#1D3262 #621D55 #624D1D #1D622A
square
#1D3262 #621D55 #624D1D #1D622A
split-complementary
#1D3262 #622A1D #55621D
monochromatic
#070C18 #0F1A33 #1D3262 #2B4A91 #3962C0

Accessibility & contrast

On white

12.46
#1D3262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D3262
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3262#FFFFFF#000000##FFFFFF
##1D32621.0012.461.6812.46
#FFFFFF12.461.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3764
Deuteranopia (green-blind)
#0D3161
Tritanopia (blue-blind)
#003D45
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1d3262;
/* rgb */ color: rgb(29, 50, 98);
/* oklch */ color: oklch(32.8% 0.089 264.3);
Tailwind
colors: {
  custom: {
    50: '#62698f',
    500: '#1d3262',
    950: '#000000',
  },
}
SCSS
$custom: #1d3262;
$custom-light: #62698f;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3262",
  "rgb": {
    "r": 29,
    "g": 50,
    "b": 98
  },
  "hsl": {
    "h": 221.739,
    "s": 54.331,
    "l": 24.902
  },
  "oklch": {
    "l": 0.32792,
    "c": 0.08903,
    "h": 264.3
  },
  "luminance": 0.03424
}

Semantic roles & 50–950 ramp

primary
#1D3262
secondary
#977E44
accent
#B14ADE
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05060C
muted
#7A7A7D

Preview Lab

Preview with #1D3262

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

Preview Lab → · Contrast checker → · Palette generator →

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