#1D2276#1D2276

#1D2276 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.2% C 0.140 H 272.3°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#1D2276
RGBrgb(29, 34, 118)
HSLhsl(237, 61%, 29%)
HSVhsv(237, 75%, 46%)
CMYKcmyk(75.4%, 71.2%, 0%, 53.7%)
CIE-LABlab(18.85, 28.58, -48.50)
CIE-LCHlch(18.85, 56.30, 300.51°)
OKLaboklab(31.22% 0.0057 -0.1403)
OKLCHoklch(31.22% 0.14 272.3)
XYZxyz(4.3476, 2.7128, 17.4305)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2276 #76711D
analogous
#1D4F76 #1D2276 #451D76
triadic
#1D2276 #761D22 #22761D
tetradic
#1D2276 #761D4F #76711D #1D7645
square
#1D2276 #761D4F #76711D #1D7645
split-complementary
#1D2276 #76451D #4F761D
monochromatic
#060719 #111445 #1D2276 #2930A7 #3E46D0

Accessibility & contrast

On white

13.61
#1D2276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#1D2276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2276
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2276#FFFFFF#000000##FFFFFF
##1D22761.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003279
Deuteranopia (green-blind)
#002A74
Tritanopia (blue-blind)
#003949
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1d2276;
/* rgb */ color: rgb(29, 34, 118);
/* oklch */ color: oklch(31.2% 0.140 272.3);
Tailwind
colors: {
  custom: {
    50: '#685d9e',
    500: '#1d2276',
    950: '#000000',
  },
}
SCSS
$custom: #1d2276;
$custom-light: #685d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2276",
  "rgb": {
    "r": 29,
    "g": 34,
    "b": 118
  },
  "hsl": {
    "h": 236.629,
    "s": 60.544,
    "l": 28.824
  },
  "oklch": {
    "l": 0.31224,
    "c": 0.14037,
    "h": 272.3
  },
  "luminance": 0.02713
}

Semantic roles & 50–950 ramp

primary
#1D2276
secondary
#AAA445
accent
#DB44E4
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1D2276

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

Preview Lab → · Contrast checker → · Palette generator →

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