#1B4C9D#1B4C9D

#1B4C9D is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.3% C 0.142 H 260.1°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#1B4C9D
RGBrgb(27, 76, 157)
HSLhsl(217, 71%, 36%)
HSVhsv(217, 83%, 62%)
CMYKcmyk(82.8%, 51.6%, 0%, 38.4%)
CIE-LABlab(33.64, 14.95, -48.66)
CIE-LCHlch(33.64, 50.90, 287.08°)
OKLaboklab(43.28% -0.0245 -0.1401)
OKLCHoklch(43.28% 0.142 260.1)
XYZxyz(9.1200, 7.8351, 32.9234)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4C9D #9D6C1B
analogous
#1B8D9D #1B4C9D #2B1B9D
triadic
#1B4C9D #9D1B4C #4C9D1B
tetradic
#1B4C9D #9D1B8D #9D6C1B #1B9D2B
square
#1B4C9D #9D1B8D #9D6C1B #1B9D2B
split-complementary
#1B4C9D #9D2B1B #8D9D1B
monochromatic
#091935 #123369 #1B4C9D #2465D1 #5187E1

Accessibility & contrast

On white

8.18
#1B4C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#1B4C9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4C9D
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4C9D#FFFFFF#000000##FFFFFF
##1B4C9D1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1755A0
Deuteranopia (green-blind)
#004A9B
Tritanopia (blue-blind)
#00606D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1b4c9d;
/* rgb */ color: rgb(27, 76, 157);
/* oklch */ color: oklch(43.3% 0.142 260.1);
Tailwind
colors: {
  custom: {
    50: '#6e7dba',
    500: '#1b4c9d',
    950: '#000000',
  },
}
SCSS
$custom: #1b4c9d;
$custom-light: #6e7dba;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4c9d",
  "rgb": {
    "r": 27,
    "g": 76,
    "b": 157
  },
  "hsl": {
    "h": 217.385,
    "s": 70.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4328,
    "c": 0.14228,
    "h": 260.1
  },
  "luminance": 0.07836
}

Semantic roles & 50–950 ramp

primary
#1B4C9D
secondary
#C49850
accent
#AA3AED
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080912
muted
#7B7B81

Preview Lab

Preview with #1B4C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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