#1B47A1#1B47A1

#1B47A1 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.5% C 0.154 H 262.4°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#1B47A1
RGBrgb(27, 71, 161)
HSLhsl(220, 71%, 37%)
HSVhsv(220, 83%, 63%)
CMYKcmyk(83.2%, 55.9%, 0%, 36.9%)
CIE-LABlab(32.51, 19.96, -52.90)
CIE-LCHlch(32.51, 56.54, 290.67°)
OKLaboklab(42.52% -0.0205 -0.1527)
OKLCHoklch(42.52% 0.154 262.4)
XYZxyz(9.1359, 7.3116, 34.6411)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B47A1 #A1751B
analogous
#1B8AA1 #1B47A1 #321BA1
triadic
#1B47A1 #A11B47 #47A11B
tetradic
#1B47A1 #A11B8A #A1751B #1BA132
square
#1B47A1 #A11B8A #A1751B #1BA132
split-complementary
#1B47A1 #A1321B #8AA11B
monochromatic
#091938 #12306D #1B47A1 #245ED5 #5483E2

Accessibility & contrast

On white

8.53
#1B47A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#1B47A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B47A1
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B47A1#FFFFFF#000000##FFFFFF
##1B47A11.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A4
Deuteranopia (green-blind)
#00479F
Tritanopia (blue-blind)
#005D6D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1b47a1;
/* rgb */ color: rgb(27, 71, 161);
/* oklch */ color: oklch(42.5% 0.154 262.4);
Tailwind
colors: {
  custom: {
    50: '#7079be',
    500: '#1b47a1',
    950: '#000000',
  },
}
SCSS
$custom: #1b47a1;
$custom-light: #7079be;
$custom-dark: #000000;
JSON
{
  "hex": "#1b47a1",
  "rgb": {
    "r": 27,
    "g": 71,
    "b": 161
  },
  "hsl": {
    "h": 220.299,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42515,
    "c": 0.1541,
    "h": 262.4
  },
  "luminance": 0.07313
}

Semantic roles & 50–950 ramp

primary
#1B47A1
secondary
#C5A052
accent
#B33AEE
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1B47A1

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

Preview Lab → · Contrast checker → · Palette generator →

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