#1D2270#1D2270

#1D2270 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.6% C 0.132 H 272.8°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#1D2270
RGBrgb(29, 34, 112)
HSLhsl(236, 59%, 28%)
HSVhsv(236, 74%, 44%)
CMYKcmyk(74.1%, 69.6%, 0%, 56.1%)
CIE-LABlab(18.25, 26.31, -45.62)
CIE-LCHlch(18.25, 52.67, 299.97°)
OKLaboklab(30.6% 0.0064 -0.1318)
OKLCHoklch(30.6% 0.132 272.8)
XYZxyz(4.0024, 2.5747, 15.6121)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2270 #706B1D
analogous
#1D4B70 #1D2270 #421D70
triadic
#1D2270 #701D22 #22701D
tetradic
#1D2270 #701D4B #706B1D #1D7042
square
#1D2270 #701D4B #706B1D #1D7042
split-complementary
#1D2270 #70421D #4B701D
monochromatic
#060718 #10133F #1D2270 #2A31A1 #3B44CC

Accessibility & contrast

On white

13.86
#1D2270 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D2270
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2270#FFFFFF#000000##FFFFFF
##1D22701.0013.861.5213.86
#FFFFFF13.861.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003072
Deuteranopia (green-blind)
#00296F
Tritanopia (blue-blind)
#003745
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1d2270;
/* rgb */ color: rgb(29, 34, 112);
/* oklch */ color: oklch(30.6% 0.132 272.8);
Tailwind
colors: {
  custom: {
    50: '#665d9a',
    500: '#1d2270',
    950: '#000000',
  },
}
SCSS
$custom: #1d2270;
$custom-light: #665d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2270",
  "rgb": {
    "r": 29,
    "g": 34,
    "b": 112
  },
  "hsl": {
    "h": 236.386,
    "s": 58.865,
    "l": 27.647
  },
  "oklch": {
    "l": 0.30604,
    "c": 0.13199,
    "h": 272.8
  },
  "luminance": 0.02575
}

Semantic roles & 50–950 ramp

primary
#1D2270
secondary
#A49F44
accent
#D946E2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1D2270

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

Preview Lab → · Contrast checker → · Palette generator →

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