#1B47AE#1B47AE

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

Color values

HEX#1B47AE
RGBrgb(27, 71, 174)
HSLhsl(222, 73%, 39%)
HSVhsv(222, 84%, 68%)
CMYKcmyk(84.5%, 59.2%, 0%, 31.8%)
CIE-LABlab(33.55, 25.13, -58.99)
CIE-LCHlch(33.55, 64.12, 293.07°)
OKLaboklab(43.63% -0.0196 -0.1706)
OKLCHoklch(43.63% 0.172 263.4)
XYZxyz(10.3425, 7.7942, 40.9955)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B47AE #AE821B
analogous
#1B91AE #1B47AE #391BAE
triadic
#1B47AE #AE1B47 #47AE1B
tetradic
#1B47AE #AE1B91 #AE821B #1BAE39
square
#1B47AE #AE1B91 #AE821B #1BAE39
split-complementary
#1B47AE #AE391B #91AE1B
monochromatic
#0B1C44 #133179 #1B47AE #285FDE #5D86E6

Accessibility & contrast

On white

8.21
#1B47AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#1B47AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B47AE
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B47AE#FFFFFF#000000##FFFFFF
##1B47AE1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b47ae;
/* rgb */ color: rgb(27, 71, 174);
/* oklch */ color: oklch(43.6% 0.172 263.4);
Tailwind
colors: {
  custom: {
    50: '#7379c7',
    500: '#1b47ae',
    950: '#000000',
  },
}
SCSS
$custom: #1b47ae;
$custom-light: #7379c7;
$custom-dark: #000000;
JSON
{
  "hex": "#1b47ae",
  "rgb": {
    "r": 27,
    "g": 71,
    "b": 174
  },
  "hsl": {
    "h": 222.041,
    "s": 73.134,
    "l": 39.412
  },
  "oklch": {
    "l": 0.43628,
    "c": 0.17173,
    "h": 263.4
  },
  "luminance": 0.07795
}

Semantic roles & 50–950 ramp

primary
#1B47AE
secondary
#CAA95B
accent
#B938F0
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #1B47AE

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

Preview Lab → · Contrast checker → · Palette generator →

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