#1D45BB#1D45BB

#1D45BB is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.5% C 0.191 H 264.9°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#1D45BB
RGBrgb(29, 69, 187)
HSLhsl(225, 73%, 42%)
HSVhsv(225, 84%, 73%)
CMYKcmyk(84.5%, 63.1%, 0%, 26.7%)
CIE-LABlab(34.20, 31.65, -65.62)
CIE-LCHlch(34.20, 72.85, 295.75°)
OKLaboklab(44.47% -0.017 -0.19)
OKLCHoklch(44.47% 0.191 264.9)
XYZxyz(11.6013, 8.1039, 47.9568)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D45BB #BB931D
analogous
#1D94BB #1D45BB #441DBB
triadic
#1D45BB #BB1D45 #45BB1D
tetradic
#1D45BB #BB1D94 #BB931D #1DBB44
square
#1D45BB #BB1D94 #BB931D #1DBB44
split-complementary
#1D45BB #BB441D #94BB1D
monochromatic
#0D1E51 #153186 #1D45BB #3561E0 #6A8AE8

Accessibility & contrast

On white

8.01
#1D45BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#1D45BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D45BB
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D45BB#FFFFFF#000000##FFFFFF
##1D45BB1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BF
Deuteranopia (green-blind)
#0049B9
Tritanopia (blue-blind)
#006479
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1d45bb;
/* rgb */ color: rgb(29, 69, 187);
/* oklch */ color: oklch(44.5% 0.191 264.9);
Tailwind
colors: {
  custom: {
    50: '#7778d0',
    500: '#1d45bb',
    950: '#000000',
  },
}
SCSS
$custom: #1d45bb;
$custom-light: #7778d0;
$custom-dark: #000000;
JSON
{
  "hex": "#1d45bb",
  "rgb": {
    "r": 29,
    "g": 69,
    "b": 187
  },
  "hsl": {
    "h": 224.81,
    "s": 73.148,
    "l": 42.353
  },
  "oklch": {
    "l": 0.44472,
    "c": 0.1908,
    "h": 264.9
  },
  "luminance": 0.08105
}

Semantic roles & 50–950 ramp

primary
#1D45BB
secondary
#CEB366
accent
#C138F0
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #1D45BB

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

Preview Lab → · Contrast checker → · Palette generator →

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