#1B45AD#1B45AD

#1B45AD is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.1% C 0.173 H 263.8°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#1B45AD
RGBrgb(27, 69, 173)
HSLhsl(223, 73%, 39%)
HSVhsv(223, 84%, 68%)
CMYKcmyk(84.4%, 60.1%, 0%, 32.2%)
CIE-LABlab(32.93, 26.08, -59.40)
CIE-LCHlch(32.93, 64.88, 293.70°)
OKLaboklab(43.14% -0.0185 -0.1718)
OKLCHoklch(43.14% 0.173 263.8)
XYZxyz(10.1202, 7.5051, 40.4423)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B45AD #AD831B
analogous
#1B8EAD #1B45AD #3A1BAD
triadic
#1B45AD #AD1B45 #45AD1B
tetradic
#1B45AD #AD1B8E #AD831B #1BAD3A
square
#1B45AD #AD1B8E #AD831B #1BAD3A
split-complementary
#1B45AD #AD3A1B #8EAD1B
monochromatic
#0A1B43 #133078 #1B45AD #285CDD #5D84E6

Accessibility & contrast

On white

8.40
#1B45AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#1B45AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B45AD
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B45AD#FFFFFF#000000##FFFFFF
##1B45AD1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B0
Deuteranopia (green-blind)
#0047AB
Tritanopia (blue-blind)
#006072
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1b45ad;
/* rgb */ color: rgb(27, 69, 173);
/* oklch */ color: oklch(43.1% 0.173 263.8);
Tailwind
colors: {
  custom: {
    50: '#7378c6',
    500: '#1b45ad',
    950: '#000000',
  },
}
SCSS
$custom: #1b45ad;
$custom-light: #7378c6;
$custom-dark: #000000;
JSON
{
  "hex": "#1b45ad",
  "rgb": {
    "r": 27,
    "g": 69,
    "b": 173
  },
  "hsl": {
    "h": 222.74,
    "s": 73,
    "l": 39.216
  },
  "oklch": {
    "l": 0.43138,
    "c": 0.17285,
    "h": 263.8
  },
  "luminance": 0.07506
}

Semantic roles & 50–950 ramp

primary
#1B45AD
secondary
#CAAA5A
accent
#BB38F0
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #1B45AD

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

Preview Lab → · Contrast checker → · Palette generator →

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