#1B4B97#1B4B97

#1B4B97 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.6% C 0.135 H 259.5°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#1B4B97
RGBrgb(27, 75, 151)
HSLhsl(217, 70%, 35%)
HSVhsv(217, 82%, 59%)
CMYKcmyk(82.1%, 50.3%, 0%, 40.8%)
CIE-LABlab(32.92, 13.21, -46.19)
CIE-LCHlch(32.92, 48.04, 285.95°)
OKLaboklab(42.59% -0.0246 -0.1329)
OKLCHoklch(42.59% 0.135 259.5)
XYZxyz(8.5519, 7.4985, 30.2688)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4B97 #97671B
analogous
#1B8997 #1B4B97 #291B97
triadic
#1B4B97 #971B4B #4B971B
tetradic
#1B4B97 #971B89 #97671B #1B9729
square
#1B4B97 #971B89 #97671B #1B9729
split-complementary
#1B4B97 #97291B #89971B
monochromatic
#08172F #123163 #1B4B97 #2465CB #4D86DF

Accessibility & contrast

On white

8.40
#1B4B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#1B4B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4B97
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4B97#FFFFFF#000000##FFFFFF
##1B4B971.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D539A
Deuteranopia (green-blind)
#004895
Tritanopia (blue-blind)
#005D6A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1b4b97;
/* rgb */ color: rgb(27, 75, 151);
/* oklch */ color: oklch(42.6% 0.135 259.5);
Tailwind
colors: {
  custom: {
    50: '#6d7cb6',
    500: '#1b4b97',
    950: '#000000',
  },
}
SCSS
$custom: #1b4b97;
$custom-light: #6d7cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4b97",
  "rgb": {
    "r": 27,
    "g": 75,
    "b": 151
  },
  "hsl": {
    "h": 216.774,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.42591,
    "c": 0.13517,
    "h": 259.5
  },
  "luminance": 0.075
}

Semantic roles & 50–950 ramp

primary
#1B4B97
secondary
#C1944C
accent
#A83BEC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1B4B97

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

Preview Lab → · Contrast checker → · Palette generator →

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