#1B4C99#1B4C99

#1B4C99 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.0% C 0.137 H 259.4°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#1B4C99
RGBrgb(27, 76, 153)
HSLhsl(217, 70%, 35%)
HSVhsv(217, 82%, 60%)
CMYKcmyk(82.4%, 50.3%, 0%, 40%)
CIE-LABlab(33.35, 13.34, -46.70)
CIE-LCHlch(33.35, 48.57, 285.94°)
OKLaboklab(42.97% -0.0251 -0.1344)
OKLCHoklch(42.97% 0.137 259.4)
XYZxyz(8.7841, 7.7007, 31.1542)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4C99 #99681B
analogous
#1B8B99 #1B4C99 #291B99
triadic
#1B4C99 #991B4C #4C991B
tetradic
#1B4C99 #991B8B #99681B #1B9929
square
#1B4C99 #991B8B #99681B #1B9929
split-complementary
#1B4C99 #99291B #8B991B
monochromatic
#091831 #123265 #1B4C99 #2466CD #4F87E0

Accessibility & contrast

On white

8.27
#1B4C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#1B4C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4C99
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4C99#FFFFFF#000000##FFFFFF
##1B4C991.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D549C
Deuteranopia (green-blind)
#004997
Tritanopia (blue-blind)
#005F6B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1b4c99;
/* rgb */ color: rgb(27, 76, 153);
/* oklch */ color: oklch(43.0% 0.137 259.4);
Tailwind
colors: {
  custom: {
    50: '#6d7db8',
    500: '#1b4c99',
    950: '#000000',
  },
}
SCSS
$custom: #1b4c99;
$custom-light: #6d7db8;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4c99",
  "rgb": {
    "r": 27,
    "g": 76,
    "b": 153
  },
  "hsl": {
    "h": 216.667,
    "s": 70,
    "l": 35.294
  },
  "oklch": {
    "l": 0.42971,
    "c": 0.13671,
    "h": 259.4
  },
  "luminance": 0.07702
}

Semantic roles & 50–950 ramp

primary
#1B4C99
secondary
#C2954E
accent
#A83BED
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1B4C99

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

Preview Lab → · Contrast checker → · Palette generator →

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