#1B4D9E#1B4D9E

#1B4D9E is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.6% C 0.142 H 259.8°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#1B4D9E
RGBrgb(27, 77, 158)
HSLhsl(217, 71%, 36%)
HSVhsv(217, 83%, 62%)
CMYKcmyk(82.9%, 51.3%, 0%, 38%)
CIE-LABlab(34.00, 14.68, -48.67)
CIE-LCHlch(34.00, 50.84, 286.78°)
OKLaboklab(43.58% -0.0251 -0.1402)
OKLCHoklch(43.58% 0.142 259.8)
XYZxyz(9.2752, 8.0083, 33.3980)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4D9E #9E6C1B
analogous
#1B8F9E #1B4D9E #2A1B9E
triadic
#1B4D9E #9E1B4D #4D9E1B
tetradic
#1B4D9E #9E1B8F #9E6C1B #1B9E2A
square
#1B4D9E #9E1B8F #9E6C1B #1B9E2A
split-complementary
#1B4D9E #9E2A1B #8F9E1B
monochromatic
#091A35 #12346A #1B4D9E #2466D2 #5289E1

Accessibility & contrast

On white

8.07
#1B4D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B4D9E
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4D9E#FFFFFF#000000##FFFFFF
##1B4D9E1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1956A1
Deuteranopia (green-blind)
#004A9C
Tritanopia (blue-blind)
#00616E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1b4d9e;
/* rgb */ color: rgb(27, 77, 158);
/* oklch */ color: oklch(43.6% 0.142 259.8);
Tailwind
colors: {
  custom: {
    50: '#6e7ebb',
    500: '#1b4d9e',
    950: '#000000',
  },
}
SCSS
$custom: #1b4d9e;
$custom-light: #6e7ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4d9e",
  "rgb": {
    "r": 27,
    "g": 77,
    "b": 158
  },
  "hsl": {
    "h": 217.099,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43581,
    "c": 0.1424,
    "h": 259.8
  },
  "luminance": 0.08009
}

Semantic roles & 50–950 ramp

primary
#1B4D9E
secondary
#C49851
accent
#A93AEE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1B4D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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