#1D2273#1D2273

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

Color values

HEX#1D2273
RGBrgb(29, 34, 115)
HSLhsl(237, 60%, 28%)
HSVhsv(237, 75%, 45%)
CMYKcmyk(74.8%, 70.4%, 0%, 54.9%)
CIE-LABlab(18.55, 27.45, -47.07)
CIE-LCHlch(18.55, 54.49, 300.25°)
OKLaboklab(30.91% 0.0061 -0.1361)
OKLCHoklch(30.91% 0.136 272.6)
XYZxyz(4.1722, 2.6427, 16.5065)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2273 #736E1D
analogous
#1D4D73 #1D2273 #431D73
triadic
#1D2273 #731D22 #22731D
tetradic
#1D2273 #731D4D #736E1D #1D7343
square
#1D2273 #731D4D #736E1D #1D7343
split-complementary
#1D2273 #73431D #4D731D
monochromatic
#060718 #111442 #1D2273 #2930A4 #3C45CE

Accessibility & contrast

On white

13.74
#1D2273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#1D2273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2273
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2273#FFFFFF#000000##FFFFFF
##1D22731.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003176
Deuteranopia (green-blind)
#002971
Tritanopia (blue-blind)
#003847
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1d2273;
/* rgb */ color: rgb(29, 34, 115);
/* oklch */ color: oklch(30.9% 0.136 272.6);
Tailwind
colors: {
  custom: {
    50: '#675d9c',
    500: '#1d2273',
    950: '#000000',
  },
}
SCSS
$custom: #1d2273;
$custom-light: #675d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2273",
  "rgb": {
    "r": 29,
    "g": 34,
    "b": 115
  },
  "hsl": {
    "h": 236.512,
    "s": 59.722,
    "l": 28.235
  },
  "oklch": {
    "l": 0.30912,
    "c": 0.13621,
    "h": 272.6
  },
  "luminance": 0.02643
}

Semantic roles & 50–950 ramp

primary
#1D2273
secondary
#A7A145
accent
#DA45E3
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1D2273

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

Preview Lab → · Contrast checker → · Palette generator →

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