#1B4C97#1B4C97

#1B4C97 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 42.8% C 0.134 H 259.1°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#1B4C97
RGBrgb(27, 76, 151)
HSLhsl(216, 70%, 35%)
HSVhsv(216, 82%, 59%)
CMYKcmyk(82.1%, 49.7%, 0%, 40.8%)
CIE-LABlab(33.21, 12.53, -45.72)
CIE-LCHlch(33.21, 47.40, 285.33°)
OKLaboklab(42.82% -0.0254 -0.1315)
OKLCHoklch(42.82% 0.134 259.1)
XYZxyz(8.6203, 7.6352, 30.2916)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4C97 #97661B
analogous
#1B8A97 #1B4C97 #281B97
triadic
#1B4C97 #971B4C #4C971B
tetradic
#1B4C97 #971B8A #97661B #1B9728
square
#1B4C97 #971B8A #97661B #1B9728
split-complementary
#1B4C97 #97281B #8A971B
monochromatic
#08182F #123263 #1B4C97 #2466CB #4D87DF

Accessibility & contrast

On white

8.31
#1B4C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#1B4C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4C97
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4C97#FFFFFF#000000##FFFFFF
##1B4C971.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20549A
Deuteranopia (green-blind)
#004996
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1b4c97;
/* rgb */ color: rgb(27, 76, 151);
/* oklch */ color: oklch(42.8% 0.134 259.1);
Tailwind
colors: {
  custom: {
    50: '#6d7db6',
    500: '#1b4c97',
    950: '#000000',
  },
}
SCSS
$custom: #1b4c97;
$custom-light: #6d7db6;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4c97",
  "rgb": {
    "r": 27,
    "g": 76,
    "b": 151
  },
  "hsl": {
    "h": 216.29,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.42818,
    "c": 0.13392,
    "h": 259.1
  },
  "luminance": 0.07636
}

Semantic roles & 50–950 ramp

primary
#1B4C97
secondary
#C1934C
accent
#A63BEC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1B4C97

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

Preview Lab → · Contrast checker → · Palette generator →

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