#1B479B#1B479B

#1B479B is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.0% C 0.146 H 261.7°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#1B479B
RGBrgb(27, 71, 155)
HSLhsl(219, 70%, 36%)
HSVhsv(219, 83%, 61%)
CMYKcmyk(82.6%, 54.2%, 0%, 39.2%)
CIE-LABlab(32.04, 17.55, -50.03)
CIE-LCHlch(32.04, 53.02, 289.33°)
OKLaboklab(42.02% -0.0211 -0.1443)
OKLCHoklch(42.02% 0.146 261.7)
XYZxyz(8.6195, 7.1050, 31.9211)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B479B #9B6F1B
analogous
#1B879B #1B479B #2F1B9B
triadic
#1B479B #9B1B47 #479B1B
tetradic
#1B479B #9B1B87 #9B6F1B #1B9B2F
square
#1B479B #9B1B87 #9B6F1B #1B9B2F
split-complementary
#1B479B #9B2F1B #879B1B
monochromatic
#091733 #122F67 #1B479B #245FCF #5082E0

Accessibility & contrast

On white

8.67
#1B479B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#1B479B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B479B
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B479B#FFFFFF#000000##FFFFFF
##1B479B1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03519E
Deuteranopia (green-blind)
#004699
Tritanopia (blue-blind)
#005C6A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1b479b;
/* rgb */ color: rgb(27, 71, 155);
/* oklch */ color: oklch(42.0% 0.146 261.7);
Tailwind
colors: {
  custom: {
    50: '#6e79b9',
    500: '#1b479b',
    950: '#000000',
  },
}
SCSS
$custom: #1b479b;
$custom-light: #6e79b9;
$custom-dark: #000000;
JSON
{
  "hex": "#1b479b",
  "rgb": {
    "r": 27,
    "g": 71,
    "b": 155
  },
  "hsl": {
    "h": 219.375,
    "s": 70.33,
    "l": 35.686
  },
  "oklch": {
    "l": 0.42019,
    "c": 0.14581,
    "h": 261.7
  },
  "luminance": 0.07106
}

Semantic roles & 50–950 ramp

primary
#1B479B
secondary
#C39B4F
accent
#B03BED
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1B479B

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

Preview Lab → · Contrast checker → · Palette generator →

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