#1B47A7#1B47A7

#1B47A7 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.0% C 0.162 H 262.9°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#1B47A7
RGBrgb(27, 71, 167)
HSLhsl(221, 72%, 38%)
HSVhsv(221, 84%, 65%)
CMYKcmyk(83.8%, 57.5%, 0%, 34.5%)
CIE-LABlab(32.98, 22.36, -55.74)
CIE-LCHlch(32.98, 60.05, 291.86°)
OKLaboklab(43.02% -0.02 -0.1611)
OKLCHoklch(43.02% 0.162 262.9)
XYZxyz(9.6778, 7.5283, 37.4948)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B47A7 #A77B1B
analogous
#1B8DA7 #1B47A7 #351BA7
triadic
#1B47A7 #A71B47 #47A71B
tetradic
#1B47A7 #A71B8D #A77B1B #1BA735
square
#1B47A7 #A71B8D #A77B1B #1BA735
split-complementary
#1B47A7 #A7351B #8DA71B
monochromatic
#0A1A3E #123172 #1B47A7 #245DDC #5884E4

Accessibility & contrast

On white

8.38
#1B47A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B47A7
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B47A7#FFFFFF#000000##FFFFFF
##1B47A71.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AA
Deuteranopia (green-blind)
#0047A5
Tritanopia (blue-blind)
#005F70
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1b47a7;
/* rgb */ color: rgb(27, 71, 167);
/* oklch */ color: oklch(43.0% 0.162 262.9);
Tailwind
colors: {
  custom: {
    50: '#7179c2',
    500: '#1b47a7',
    950: '#000000',
  },
}
SCSS
$custom: #1b47a7;
$custom-light: #7179c2;
$custom-dark: #000000;
JSON
{
  "hex": "#1b47a7",
  "rgb": {
    "r": 27,
    "g": 71,
    "b": 167
  },
  "hsl": {
    "h": 221.143,
    "s": 72.165,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43022,
    "c": 0.1623,
    "h": 262.9
  },
  "luminance": 0.0753
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B47A7

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

Preview Lab → · Contrast checker → · Palette generator →

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