#1B4C98#1B4C98

#1B4C98 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 42.9% C 0.135 H 259.2°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#1B4C98
RGBrgb(27, 76, 152)
HSLhsl(216, 70%, 35%)
HSVhsv(216, 82%, 60%)
CMYKcmyk(82.2%, 50%, 0%, 40.4%)
CIE-LABlab(33.28, 12.93, -46.21)
CIE-LCHlch(33.28, 47.98, 285.64°)
OKLaboklab(42.89% -0.0252 -0.1329)
OKLCHoklch(42.89% 0.135 259.2)
XYZxyz(8.7019, 7.6678, 30.7211)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4C98 #98671B
analogous
#1B8A98 #1B4C98 #291B98
triadic
#1B4C98 #981B4C #4C981B
tetradic
#1B4C98 #981B8A #98671B #1B9829
square
#1B4C98 #981B8A #98671B #1B9829
split-complementary
#1B4C98 #98291B #8A981B
monochromatic
#091830 #123264 #1B4C98 #2466CC #4E87E0

Accessibility & contrast

On white

8.29
#1B4C98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B4C98
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4C98#FFFFFF#000000##FFFFFF
##1B4C981.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b4c98;
/* rgb */ color: rgb(27, 76, 152);
/* oklch */ color: oklch(42.9% 0.135 259.2);
Tailwind
colors: {
  custom: {
    50: '#6d7db7',
    500: '#1b4c98',
    950: '#000000',
  },
}
SCSS
$custom: #1b4c98;
$custom-light: #6d7db7;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4c98",
  "rgb": {
    "r": 27,
    "g": 76,
    "b": 152
  },
  "hsl": {
    "h": 216.48,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.42894,
    "c": 0.13531,
    "h": 259.2
  },
  "luminance": 0.07669
}

Semantic roles & 50–950 ramp

primary
#1B4C98
secondary
#C2944D
accent
#A73BED
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1B4C98

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

Preview Lab → · Contrast checker → · Palette generator →

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