#1B4994#1B4994

#1B4994 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 41.9% C 0.133 H 259.9°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#1B4994
RGBrgb(27, 73, 148)
HSLhsl(217, 69%, 34%)
HSVhsv(217, 82%, 58%)
CMYKcmyk(81.8%, 50.7%, 0%, 42%)
CIE-LABlab(32.11, 13.35, -45.66)
CIE-LCHlch(32.11, 47.58, 286.30°)
OKLaboklab(41.91% -0.0235 -0.1314)
OKLCHoklch(41.91% 0.133 259.9)
XYZxyz(8.1779, 7.1352, 28.9575)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4994 #94661B
analogous
#1B8694 #1B4994 #2A1B94
triadic
#1B4994 #941B49 #49941B
tetradic
#1B4994 #941B86 #94661B #1B942A
square
#1B4994 #941B86 #94661B #1B942A
split-complementary
#1B4994 #942A1B #86941B
monochromatic
#08162C #122F60 #1B4994 #2463C8 #4B83DE

Accessibility & contrast

On white

8.65
#1B4994 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#1B4994 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4994
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4994#FFFFFF#000000##FFFFFF
##1B49941.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5197
Deuteranopia (green-blind)
#004693
Tritanopia (blue-blind)
#005B67
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1b4994;
/* rgb */ color: rgb(27, 73, 148);
/* oklch */ color: oklch(41.9% 0.133 259.9);
Tailwind
colors: {
  custom: {
    50: '#6c7bb4',
    500: '#1b4994',
    950: '#000000',
  },
}
SCSS
$custom: #1b4994;
$custom-light: #6c7bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4994",
  "rgb": {
    "r": 27,
    "g": 73,
    "b": 148
  },
  "hsl": {
    "h": 217.19,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41908,
    "c": 0.13348,
    "h": 259.9
  },
  "luminance": 0.07136
}

Semantic roles & 50–950 ramp

primary
#1B4994
secondary
#C0944B
accent
#A93CEC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1B4994

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

Preview Lab → · Contrast checker → · Palette generator →

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