#1D45A1#1D45A1

#1D45A1 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.2% C 0.156 H 263.4°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#1D45A1
RGBrgb(29, 69, 161)
HSLhsl(222, 69%, 37%)
HSVhsv(222, 82%, 63%)
CMYKcmyk(82%, 57.1%, 0%, 36.9%)
CIE-LABlab(32.01, 21.51, -53.71)
CIE-LCHlch(32.01, 57.85, 291.83°)
OKLaboklab(42.16% -0.0179 -0.1551)
OKLCHoklch(42.16% 0.156 263.4)
XYZxyz(9.0655, 7.0896, 34.6019)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D45A1 #A1791D
analogous
#1D87A1 #1D45A1 #371DA1
triadic
#1D45A1 #A11D45 #45A11D
tetradic
#1D45A1 #A11D87 #A1791D #1DA137
square
#1D45A1 #A11D87 #A1791D #1DA137
split-complementary
#1D45A1 #A1371D #87A11D
monochromatic
#0A1939 #142F6D #1D45A1 #265BD5 #5881E1

Accessibility & contrast

On white

8.68
#1D45A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#1D45A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D45A1
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D45A1#FFFFFF#000000##FFFFFF
##1D45A11.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A4
Deuteranopia (green-blind)
#00459F
Tritanopia (blue-blind)
#005C6C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1d45a1;
/* rgb */ color: rgb(29, 69, 161);
/* oklch */ color: oklch(42.2% 0.156 263.4);
Tailwind
colors: {
  custom: {
    50: '#7078be',
    500: '#1d45a1',
    950: '#000000',
  },
}
SCSS
$custom: #1d45a1;
$custom-light: #7078be;
$custom-dark: #000000;
JSON
{
  "hex": "#1d45a1",
  "rgb": {
    "r": 29,
    "g": 69,
    "b": 161
  },
  "hsl": {
    "h": 221.818,
    "s": 69.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.42158,
    "c": 0.15612,
    "h": 263.4
  },
  "luminance": 0.07091
}

Semantic roles & 50–950 ramp

primary
#1D45A1
secondary
#C4A355
accent
#B73CEC
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1D45A1

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

Preview Lab → · Contrast checker → · Palette generator →

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