#1B4B9B#1B4B9B

#1B4B9B is a dark, vivid blue. Relative luminance 0.076; OKLCH L 42.9% C 0.141 H 260.2°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#1B4B9B
RGBrgb(27, 75, 155)
HSLhsl(218, 70%, 36%)
HSVhsv(218, 83%, 61%)
CMYKcmyk(82.6%, 51.6%, 0%, 39.2%)
CIE-LABlab(33.20, 14.82, -48.15)
CIE-LCHlch(33.20, 50.38, 287.11°)
OKLaboklab(42.9% -0.024 -0.1387)
OKLCHoklch(42.9% 0.141 260.2)
XYZxyz(8.8823, 7.6306, 32.0087)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4B9B #9B6B1B
analogous
#1B8B9B #1B4B9B #2B1B9B
triadic
#1B4B9B #9B1B4B #4B9B1B
tetradic
#1B4B9B #9B1B8B #9B6B1B #1B9B2B
square
#1B4B9B #9B1B8B #9B6B1B #1B9B2B
split-complementary
#1B4B9B #9B2B1B #8B9B1B
monochromatic
#091933 #123267 #1B4B9B #2464CF #5086E0

Accessibility & contrast

On white

8.31
#1B4B9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#1B4B9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4B9B
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4B9B#FFFFFF#000000##FFFFFF
##1B4B9B1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17549E
Deuteranopia (green-blind)
#004999
Tritanopia (blue-blind)
#005E6B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1b4b9b;
/* rgb */ color: rgb(27, 75, 155);
/* oklch */ color: oklch(42.9% 0.141 260.2);
Tailwind
colors: {
  custom: {
    50: '#6e7cb9',
    500: '#1b4b9b',
    950: '#000000',
  },
}
SCSS
$custom: #1b4b9b;
$custom-light: #6e7cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4b9b",
  "rgb": {
    "r": 27,
    "g": 75,
    "b": 155
  },
  "hsl": {
    "h": 217.5,
    "s": 70.33,
    "l": 35.686
  },
  "oklch": {
    "l": 0.42901,
    "c": 0.14075,
    "h": 260.2
  },
  "luminance": 0.07632
}

Semantic roles & 50–950 ramp

primary
#1B4B9B
secondary
#C3974F
accent
#AA3BED
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1B4B9B

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

Preview Lab → · Contrast checker → · Palette generator →

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