#1B47A8#1B47A8

#1B47A8 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.1% C 0.164 H 263.0°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#1B47A8
RGBrgb(27, 71, 168)
HSLhsl(221, 72%, 38%)
HSVhsv(221, 84%, 66%)
CMYKcmyk(83.9%, 57.7%, 0%, 34.1%)
CIE-LABlab(33.06, 22.75, -56.20)
CIE-LCHlch(33.06, 60.63, 292.04°)
OKLaboklab(43.11% -0.02 -0.1624)
OKLCHoklch(43.11% 0.164 263)
XYZxyz(9.7706, 7.5654, 37.9835)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B47A8 #A87C1B
analogous
#1B8DA8 #1B47A8 #361BA8
triadic
#1B47A8 #A81B47 #47A81B
tetradic
#1B47A8 #A81B8D #A87C1B #1BA836
square
#1B47A8 #A81B8D #A87C1B #1BA836
split-complementary
#1B47A8 #A8361B #8DA81B
monochromatic
#0A1A3F #133173 #1B47A8 #245EDC #5985E4

Accessibility & contrast

On white

8.36
#1B47A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#1B47A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B47A8
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B47A8#FFFFFF#000000##FFFFFF
##1B47A81.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AB
Deuteranopia (green-blind)
#0048A6
Tritanopia (blue-blind)
#005F70
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1b47a8;
/* rgb */ color: rgb(27, 71, 168);
/* oklch */ color: oklch(43.1% 0.164 263.0);
Tailwind
colors: {
  custom: {
    50: '#7179c3',
    500: '#1b47a8',
    950: '#000000',
  },
}
SCSS
$custom: #1b47a8;
$custom-light: #7179c3;
$custom-dark: #000000;
JSON
{
  "hex": "#1b47a8",
  "rgb": {
    "r": 27,
    "g": 71,
    "b": 168
  },
  "hsl": {
    "h": 221.277,
    "s": 72.308,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43108,
    "c": 0.16366,
    "h": 263
  },
  "luminance": 0.07567
}

Semantic roles & 50–950 ramp

primary
#1B47A8
secondary
#C8A557
accent
#B639EF
background
#F7F7FC
surface
#EDEDF8
border
#C8C8D1
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1B47A8

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

Preview Lab → · Contrast checker → · Palette generator →

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