#1B4D9F#1B4D9F

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

Color values

HEX#1B4D9F
RGBrgb(27, 77, 159)
HSLhsl(217, 71%, 36%)
HSVhsv(217, 83%, 62%)
CMYKcmyk(83%, 51.6%, 0%, 37.6%)
CIE-LABlab(34.07, 15.08, -49.16)
CIE-LCHlch(34.07, 51.42, 287.06°)
OKLaboklab(43.66% -0.025 -0.1416)
OKLCHoklch(43.66% 0.144 260)
XYZxyz(9.3616, 8.0428, 33.8532)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4D9F #9F6D1B
analogous
#1B8F9F #1B4D9F #2B1B9F
triadic
#1B4D9F #9F1B4D #4D9F1B
tetradic
#1B4D9F #9F1B8F #9F6D1B #1B9F2B
square
#1B4D9F #9F1B8F #9F6D1B #1B9F2B
split-complementary
#1B4D9F #9F2B1B #8F9F1B
monochromatic
#091A36 #12346B #1B4D9F #2466D3 #5389E2

Accessibility & contrast

On white

8.05
#1B4D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B4D9F
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4D9F#FFFFFF#000000##FFFFFF
##1B4D9F1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1756A2
Deuteranopia (green-blind)
#004B9D
Tritanopia (blue-blind)
#00616E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1b4d9f;
/* rgb */ color: rgb(27, 77, 159);
/* oklch */ color: oklch(43.7% 0.144 260.0);
Tailwind
colors: {
  custom: {
    50: '#6f7ebc',
    500: '#1b4d9f',
    950: '#000000',
  },
}
SCSS
$custom: #1b4d9f;
$custom-light: #6f7ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4d9f",
  "rgb": {
    "r": 27,
    "g": 77,
    "b": 159
  },
  "hsl": {
    "h": 217.273,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.43658,
    "c": 0.14379,
    "h": 260
  },
  "luminance": 0.08044
}

Semantic roles & 50–950 ramp

primary
#1B4D9F
secondary
#C59951
accent
#AA3AEE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1B4D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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