#1B4998#1B4998

#1B4998 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.2% C 0.139 H 260.5°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#1B4998
RGBrgb(27, 73, 152)
HSLhsl(218, 70%, 35%)
HSVhsv(218, 82%, 60%)
CMYKcmyk(82.2%, 52%, 0%, 40.4%)
CIE-LABlab(32.40, 14.97, -47.63)
CIE-LCHlch(32.40, 49.93, 287.45°)
OKLaboklab(42.22% -0.0229 -0.1372)
OKLCHoklch(42.22% 0.139 260.5)
XYZxyz(8.5000, 7.2641, 30.6538)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4998 #986A1B
analogous
#1B8798 #1B4998 #2C1B98
triadic
#1B4998 #981B49 #49981B
tetradic
#1B4998 #981B87 #986A1B #1B982C
square
#1B4998 #981B87 #986A1B #1B982C
split-complementary
#1B4998 #982C1B #87981B
monochromatic
#091730 #123064 #1B4998 #2462CC #4E83E0

Accessibility & contrast

On white

8.56
#1B4998 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B4998
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4998#FFFFFF#000000##FFFFFF
##1B49981.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15529B
Deuteranopia (green-blind)
#004796
Tritanopia (blue-blind)
#005C69
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1b4998;
/* rgb */ color: rgb(27, 73, 152);
/* oklch */ color: oklch(42.2% 0.139 260.5);
Tailwind
colors: {
  custom: {
    50: '#6d7bb7',
    500: '#1b4998',
    950: '#000000',
  },
}
SCSS
$custom: #1b4998;
$custom-light: #6d7bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4998",
  "rgb": {
    "r": 27,
    "g": 73,
    "b": 152
  },
  "hsl": {
    "h": 217.92,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.4222,
    "c": 0.13909,
    "h": 260.5
  },
  "luminance": 0.07265
}

Semantic roles & 50–950 ramp

primary
#1B4998
secondary
#C2974D
accent
#AB3BED
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1B4998

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

Preview Lab → · Contrast checker → · Palette generator →

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