#1B4B9D#1B4B9D

#1B4B9D is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.1% C 0.144 H 260.5°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#1B4B9D
RGBrgb(27, 75, 157)
HSLhsl(218, 71%, 36%)
HSVhsv(218, 83%, 62%)
CMYKcmyk(82.8%, 52.2%, 0%, 38.4%)
CIE-LABlab(33.35, 15.63, -49.13)
CIE-LCHlch(33.35, 51.55, 287.65°)
OKLaboklab(43.06% -0.0238 -0.1415)
OKLCHoklch(43.06% 0.144 260.5)
XYZxyz(9.0517, 7.6984, 32.9006)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4B9D #9D6D1B
analogous
#1B8C9D #1B4B9D #2C1B9D
triadic
#1B4B9D #9D1B4B #4B9D1B
tetradic
#1B4B9D #9D1B8C #9D6D1B #1B9D2C
square
#1B4B9D #9D1B8C #9D6D1B #1B9D2C
split-complementary
#1B4B9D #9D2C1B #8C9D1B
monochromatic
#091935 #123269 #1B4B9D #2464D1 #5186E1

Accessibility & contrast

On white

8.27
#1B4B9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#1B4B9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4B9D
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4B9D#FFFFFF#000000##FFFFFF
##1B4B9D1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1355A0
Deuteranopia (green-blind)
#00499B
Tritanopia (blue-blind)
#005F6C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1b4b9d;
/* rgb */ color: rgb(27, 75, 157);
/* oklch */ color: oklch(43.1% 0.144 260.5);
Tailwind
colors: {
  custom: {
    50: '#6e7cbb',
    500: '#1b4b9d',
    950: '#000000',
  },
}
SCSS
$custom: #1b4b9d;
$custom-light: #6e7cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4b9d",
  "rgb": {
    "r": 27,
    "g": 75,
    "b": 157
  },
  "hsl": {
    "h": 217.846,
    "s": 70.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43058,
    "c": 0.14353,
    "h": 260.5
  },
  "luminance": 0.07699
}

Semantic roles & 50–950 ramp

primary
#1B4B9D
secondary
#C49950
accent
#AB3AED
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080912
muted
#7B7B81

Preview Lab

Preview with #1B4B9D

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

Preview Lab → · Contrast checker → · Palette generator →

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