#1D45A7#1D45A7

#1D45A7 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.7% C 0.164 H 263.9°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#1D45A7
RGBrgb(29, 69, 167)
HSLhsl(223, 70%, 38%)
HSVhsv(223, 83%, 65%)
CMYKcmyk(82.6%, 58.7%, 0%, 34.5%)
CIE-LABlab(32.49, 23.89, -56.52)
CIE-LCHlch(32.49, 61.36, 292.91°)
OKLaboklab(42.67% -0.0175 -0.1634)
OKLCHoklch(42.67% 0.164 263.9)
XYZxyz(9.6074, 7.3063, 37.4556)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D45A7 #A77F1D
analogous
#1D8AA7 #1D45A7 #3A1DA7
triadic
#1D45A7 #A71D45 #45A71D
tetradic
#1D45A7 #A71D8A #A77F1D #1DA73A
square
#1D45A7 #A71D8A #A77F1D #1DA73A
split-complementary
#1D45A7 #A73A1D #8AA71D
monochromatic
#0B1A3F #142F73 #1D45A7 #285BDA #5C83E3

Accessibility & contrast

On white

8.53
#1D45A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#1D45A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D45A7
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D45A7#FFFFFF#000000##FFFFFF
##1D45A71.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AA
Deuteranopia (green-blind)
#0046A5
Tritanopia (blue-blind)
#005E6F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1d45a7;
/* rgb */ color: rgb(29, 69, 167);
/* oklch */ color: oklch(42.7% 0.164 263.9);
Tailwind
colors: {
  custom: {
    50: '#7278c2',
    500: '#1d45a7',
    950: '#000000',
  },
}
SCSS
$custom: #1d45a7;
$custom-light: #7278c2;
$custom-dark: #000000;
JSON
{
  "hex": "#1d45a7",
  "rgb": {
    "r": 29,
    "g": 69,
    "b": 167
  },
  "hsl": {
    "h": 222.609,
    "s": 70.408,
    "l": 38.431
  },
  "oklch": {
    "l": 0.42674,
    "c": 0.16431,
    "h": 263.9
  },
  "luminance": 0.07307
}

Semantic roles & 50–950 ramp

primary
#1D45A7
secondary
#C7A759
accent
#B93BED
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1D45A7

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

Preview Lab → · Contrast checker → · Palette generator →

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