#1B4997#1B4997

#1B4997 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.1% C 0.138 H 260.4°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#1B4997
RGBrgb(27, 73, 151)
HSLhsl(218, 70%, 35%)
HSVhsv(218, 82%, 59%)
CMYKcmyk(82.1%, 51.7%, 0%, 40.8%)
CIE-LABlab(32.33, 14.57, -47.14)
CIE-LCHlch(32.33, 49.34, 287.17°)
OKLaboklab(42.14% -0.0231 -0.1357)
OKLCHoklch(42.14% 0.138 260.4)
XYZxyz(8.4184, 7.2315, 30.2243)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4997 #97691B
analogous
#1B8797 #1B4997 #2B1B97
triadic
#1B4997 #971B49 #49971B
tetradic
#1B4997 #971B87 #97691B #1B972B
square
#1B4997 #971B87 #97691B #1B972B
split-complementary
#1B4997 #972B1B #87971B
monochromatic
#08172F #123063 #1B4997 #2462CB #4D83DF

Accessibility & contrast

On white

8.58
#1B4997 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#1B4997 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4997
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4997#FFFFFF#000000##FFFFFF
##1B49971.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17529A
Deuteranopia (green-blind)
#004795
Tritanopia (blue-blind)
#005C69
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1b4997;
/* rgb */ color: rgb(27, 73, 151);
/* oklch */ color: oklch(42.1% 0.138 260.4);
Tailwind
colors: {
  custom: {
    50: '#6d7bb6',
    500: '#1b4997',
    950: '#000000',
  },
}
SCSS
$custom: #1b4997;
$custom-light: #6d7bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4997",
  "rgb": {
    "r": 27,
    "g": 73,
    "b": 151
  },
  "hsl": {
    "h": 217.742,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.42141,
    "c": 0.13769,
    "h": 260.4
  },
  "luminance": 0.07232
}

Semantic roles & 50–950 ramp

primary
#1B4997
secondary
#C1964C
accent
#AB3BEC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1B4997

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

Preview Lab → · Contrast checker → · Palette generator →

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