#1D2272#1D2272

#1D2272 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.8% C 0.135 H 272.6°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#1D2272
RGBrgb(29, 34, 114)
HSLhsl(236, 59%, 28%)
HSVhsv(236, 75%, 45%)
CMYKcmyk(74.6%, 70.2%, 0%, 55.3%)
CIE-LABlab(18.45, 27.07, -46.59)
CIE-LCHlch(18.45, 53.88, 300.16°)
OKLaboklab(30.81% 0.0062 -0.1347)
OKLCHoklch(30.81% 0.135 272.6)
XYZxyz(4.1150, 2.6198, 16.2051)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2272 #726D1D
analogous
#1D4C72 #1D2272 #431D72
triadic
#1D2272 #721D22 #22721D
tetradic
#1D2272 #721D4C #726D1D #1D7243
square
#1D2272 #721D4C #726D1D #1D7243
split-complementary
#1D2272 #72431D #4C721D
monochromatic
#060718 #111341 #1D2272 #2931A3 #3C45CD

Accessibility & contrast

On white

13.78
#1D2272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#1D2272 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2272
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2272#FFFFFF#000000##FFFFFF
##1D22721.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003174
Deuteranopia (green-blind)
#002970
Tritanopia (blue-blind)
#003747
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1d2272;
/* rgb */ color: rgb(29, 34, 114);
/* oklch */ color: oklch(30.8% 0.135 272.6);
Tailwind
colors: {
  custom: {
    50: '#675d9b',
    500: '#1d2272',
    950: '#000000',
  },
}
SCSS
$custom: #1d2272;
$custom-light: #675d9b;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2272",
  "rgb": {
    "r": 29,
    "g": 34,
    "b": 114
  },
  "hsl": {
    "h": 236.471,
    "s": 59.441,
    "l": 28.039
  },
  "oklch": {
    "l": 0.30809,
    "c": 0.13481,
    "h": 272.6
  },
  "luminance": 0.0262
}

Semantic roles & 50–950 ramp

primary
#1D2272
secondary
#A6A145
accent
#D945E3
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1D2272

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

Preview Lab → · Contrast checker → · Palette generator →

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