#1D45A0#1D45A0

#1D45A0 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.1% C 0.155 H 263.3°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#1D45A0
RGBrgb(29, 69, 160)
HSLhsl(222, 69%, 37%)
HSVhsv(222, 82%, 63%)
CMYKcmyk(81.9%, 56.9%, 0%, 37.3%)
CIE-LABlab(31.93, 21.11, -53.23)
CIE-LCHlch(31.93, 57.27, 291.63°)
OKLaboklab(42.07% -0.0179 -0.1537)
OKLCHoklch(42.07% 0.155 263.3)
XYZxyz(8.9777, 7.0544, 34.1394)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D45A0 #A0781D
analogous
#1D87A0 #1D45A0 #361DA0
triadic
#1D45A0 #A01D45 #45A01D
tetradic
#1D45A0 #A01D87 #A0781D #1DA036
square
#1D45A0 #A01D87 #A0781D #1DA036
split-complementary
#1D45A0 #A0361D #87A01D
monochromatic
#0A1838 #142F6C #1D45A0 #265BD4 #5781E1

Accessibility & contrast

On white

8.71
#1D45A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#1D45A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D45A0
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D45A0#FFFFFF#000000##FFFFFF
##1D45A01.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A3
Deuteranopia (green-blind)
#00459E
Tritanopia (blue-blind)
#005C6B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1d45a0;
/* rgb */ color: rgb(29, 69, 160);
/* oklch */ color: oklch(42.1% 0.155 263.3);
Tailwind
colors: {
  custom: {
    50: '#7078bd',
    500: '#1d45a0',
    950: '#000000',
  },
}
SCSS
$custom: #1d45a0;
$custom-light: #7078bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1d45a0",
  "rgb": {
    "r": 29,
    "g": 69,
    "b": 160
  },
  "hsl": {
    "h": 221.679,
    "s": 69.312,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42073,
    "c": 0.15475,
    "h": 263.3
  },
  "luminance": 0.07056
}

Semantic roles & 50–950 ramp

primary
#1D45A0
secondary
#C4A255
accent
#B63CEC
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1D45A0

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

Preview Lab → · Contrast checker → · Palette generator →

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