#1B47BB#1B47BB

#1B47BB is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.8% C 0.189 H 264.1°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#1B47BB
RGBrgb(27, 71, 187)
HSLhsl(224, 75%, 42%)
HSVhsv(224, 86%, 73%)
CMYKcmyk(85.6%, 62%, 0%, 26.7%)
CIE-LABlab(34.65, 30.19, -64.88)
CIE-LCHlch(34.65, 71.56, 294.96°)
OKLaboklab(44.79% -0.0193 -0.1879)
OKLCHoklch(44.79% 0.189 264.1)
XYZxyz(11.6717, 8.3259, 47.9960)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B47BB #BB8F1B
analogous
#1B97BB #1B47BB #3F1BBB
triadic
#1B47BB #BB1B47 #47BB1B
tetradic
#1B47BB #BB1B97 #BB8F1B #1BBB3F
square
#1B47BB #BB1B97 #BB8F1B #1BBB3F
split-complementary
#1B47BB #BB3F1B #97BB1B
monochromatic
#0C1E50 #133386 #1B47BB #3262E1 #678BE9

Accessibility & contrast

On white

7.88
#1B47BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#1B47BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B47BB
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B47BB#FFFFFF#000000##FFFFFF
##1B47BB1.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BF
Deuteranopia (green-blind)
#004AB9
Tritanopia (blue-blind)
#00657A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1b47bb;
/* rgb */ color: rgb(27, 71, 187);
/* oklch */ color: oklch(44.8% 0.189 264.1);
Tailwind
colors: {
  custom: {
    50: '#7779d0',
    500: '#1b47bb',
    950: '#000000',
  },
}
SCSS
$custom: #1b47bb;
$custom-light: #7779d0;
$custom-dark: #000000;
JSON
{
  "hex": "#1b47bb",
  "rgb": {
    "r": 27,
    "g": 71,
    "b": 187
  },
  "hsl": {
    "h": 223.5,
    "s": 74.766,
    "l": 41.961
  },
  "oklch": {
    "l": 0.44792,
    "c": 0.18886,
    "h": 264.1
  },
  "luminance": 0.08327
}

Semantic roles & 50–950 ramp

primary
#1B47BB
secondary
#CEB163
accent
#BE36F1
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0A0914
muted
#7C7B82

Preview Lab

Preview with #1B47BB

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

Preview Lab → · Contrast checker → · Palette generator →

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