#1B47AD#1B47AD

#1B47AD is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.5% C 0.170 H 263.4°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#1B47AD
RGBrgb(27, 71, 173)
HSLhsl(222, 73%, 39%)
HSVhsv(222, 84%, 68%)
CMYKcmyk(84.4%, 59%, 0%, 32.2%)
CIE-LABlab(33.47, 24.73, -58.53)
CIE-LCHlch(33.47, 63.54, 292.91°)
OKLaboklab(43.54% -0.0197 -0.1693)
OKLCHoklch(43.54% 0.17 263.4)
XYZxyz(10.2454, 7.7554, 40.4840)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B47AD #AD811B
analogous
#1B90AD #1B47AD #381BAD
triadic
#1B47AD #AD1B47 #47AD1B
tetradic
#1B47AD #AD1B90 #AD811B #1BAD38
square
#1B47AD #AD1B90 #AD811B #1BAD38
split-complementary
#1B47AD #AD381B #90AD1B
monochromatic
#0A1C43 #133178 #1B47AD #285FDD #5D86E6

Accessibility & contrast

On white

8.23
#1B47AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#1B47AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B47AD
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B47AD#FFFFFF#000000##FFFFFF
##1B47AD1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B0
Deuteranopia (green-blind)
#0048AB
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1b47ad;
/* rgb */ color: rgb(27, 71, 173);
/* oklch */ color: oklch(43.5% 0.170 263.4);
Tailwind
colors: {
  custom: {
    50: '#7379c6',
    500: '#1b47ad',
    950: '#000000',
  },
}
SCSS
$custom: #1b47ad;
$custom-light: #7379c6;
$custom-dark: #000000;
JSON
{
  "hex": "#1b47ad",
  "rgb": {
    "r": 27,
    "g": 71,
    "b": 173
  },
  "hsl": {
    "h": 221.918,
    "s": 73,
    "l": 39.216
  },
  "oklch": {
    "l": 0.43541,
    "c": 0.17039,
    "h": 263.4
  },
  "luminance": 0.07757
}

Semantic roles & 50–950 ramp

primary
#1B47AD
secondary
#CAA85A
accent
#B838F0
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #1B47AD

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

Preview Lab → · Contrast checker → · Palette generator →

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