#1B47B4#1B47B4

#1B47B4 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.2% C 0.180 H 263.8°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#1B47B4
RGBrgb(27, 71, 180)
HSLhsl(223, 74%, 41%)
HSVhsv(223, 85%, 71%)
CMYKcmyk(85%, 60.6%, 0%, 29.4%)
CIE-LABlab(34.05, 27.48, -61.73)
CIE-LCHlch(34.05, 67.57, 294.00°)
OKLaboklab(44.16% -0.0194 -0.1786)
OKLCHoklch(44.16% 0.18 263.8)
XYZxyz(10.9405, 8.0334, 44.1451)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B47B4 #B4881B
analogous
#1B93B4 #1B47B4 #3B1BB4
triadic
#1B47B4 #B41B47 #47B41B
tetradic
#1B47B4 #B41B93 #B4881B #1BB43B
square
#1B47B4 #B41B93 #B4881B #1BB43B
split-complementary
#1B47B4 #B43B1B #93B41B
monochromatic
#0B1D4A #13327F #1B47B4 #2D60DF #6288E7

Accessibility & contrast

On white

8.06
#1B47B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#1B47B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B47B4
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B47B4#FFFFFF#000000##FFFFFF
##1B47B41.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B8
Deuteranopia (green-blind)
#0049B2
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1b47b4;
/* rgb */ color: rgb(27, 71, 180);
/* oklch */ color: oklch(44.2% 0.180 263.8);
Tailwind
colors: {
  custom: {
    50: '#7579cb',
    500: '#1b47b4',
    950: '#000000',
  },
}
SCSS
$custom: #1b47b4;
$custom-light: #7579cb;
$custom-dark: #000000;
JSON
{
  "hex": "#1b47b4",
  "rgb": {
    "r": 27,
    "g": 71,
    "b": 180
  },
  "hsl": {
    "h": 222.745,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4416,
    "c": 0.17969,
    "h": 263.8
  },
  "luminance": 0.08035
}

Semantic roles & 50–950 ramp

primary
#1B47B4
secondary
#CCAD5F
accent
#BB37F1
background
#F7F7FC
surface
#EEEDF9
border
#C9C8D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #1B47B4

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

Preview Lab → · Contrast checker → · Palette generator →

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