#1B4BA5#1B4BA5

#1B4BA5 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.7% C 0.155 H 261.5°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#1B4BA5
RGBrgb(27, 75, 165)
HSLhsl(219, 72%, 38%)
HSVhsv(219, 84%, 65%)
CMYKcmyk(83.6%, 54.5%, 0%, 35.3%)
CIE-LABlab(33.94, 18.85, -52.97)
CIE-LCHlch(33.94, 56.23, 289.58°)
OKLaboklab(43.7% -0.0228 -0.1529)
OKLCHoklch(43.7% 0.155 261.5)
XYZxyz(9.7571, 7.9806, 36.6162)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4BA5 #A5751B
analogous
#1B90A5 #1B4BA5 #301BA5
triadic
#1B4BA5 #A51B4B #4BA51B
tetradic
#1B4BA5 #A51B90 #A5751B #1BA530
square
#1B4BA5 #A51B90 #A5751B #1BA530
split-complementary
#1B4BA5 #A5301B #90A51B
monochromatic
#0A1B3C #123370 #1B4BA5 #2463DA #5788E3

Accessibility & contrast

On white

8.09
#1B4BA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#1B4BA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4BA5
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4BA5#FFFFFF#000000##FFFFFF
##1B4BA51.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A8
Deuteranopia (green-blind)
#004AA3
Tritanopia (blue-blind)
#006170
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1b4ba5;
/* rgb */ color: rgb(27, 75, 165);
/* oklch */ color: oklch(43.7% 0.155 261.5);
Tailwind
colors: {
  custom: {
    50: '#707cc0',
    500: '#1b4ba5',
    950: '#000000',
  },
}
SCSS
$custom: #1b4ba5;
$custom-light: #707cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4ba5",
  "rgb": {
    "r": 27,
    "g": 75,
    "b": 165
  },
  "hsl": {
    "h": 219.13,
    "s": 71.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.437,
    "c": 0.15456,
    "h": 261.5
  },
  "luminance": 0.07982
}

Semantic roles & 50–950 ramp

primary
#1B4BA5
secondary
#C79F55
accent
#B039EF
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1B4BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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