#1B4C96#1B4C96

#1B4C96 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 42.7% C 0.133 H 258.9°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#1B4C96
RGBrgb(27, 76, 150)
HSLhsl(216, 69%, 35%)
HSVhsv(216, 82%, 59%)
CMYKcmyk(82%, 49.3%, 0%, 41.2%)
CIE-LABlab(33.14, 12.12, -45.22)
CIE-LCHlch(33.14, 46.82, 285.01°)
OKLaboklab(42.74% -0.0256 -0.13)
OKLCHoklch(42.74% 0.133 258.9)
XYZxyz(8.5394, 7.6029, 29.8657)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4C96 #96651B
analogous
#1B8996 #1B4C96 #281B96
triadic
#1B4C96 #961B4C #4C961B
tetradic
#1B4C96 #961B89 #96651B #1B9628
square
#1B4C96 #961B89 #96651B #1B9628
split-complementary
#1B4C96 #96281B #89961B
monochromatic
#08172E #123262 #1B4C96 #2466CA #4D87DF

Accessibility & contrast

On white

8.33
#1B4C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#1B4C96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4C96
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4C96#FFFFFF#000000##FFFFFF
##1B4C961.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215499
Deuteranopia (green-blind)
#004995
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1b4c96;
/* rgb */ color: rgb(27, 76, 150);
/* oklch */ color: oklch(42.7% 0.133 258.9);
Tailwind
colors: {
  custom: {
    50: '#6d7db5',
    500: '#1b4c96',
    950: '#000000',
  },
}
SCSS
$custom: #1b4c96;
$custom-light: #6d7db5;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4c96",
  "rgb": {
    "r": 27,
    "g": 76,
    "b": 150
  },
  "hsl": {
    "h": 216.098,
    "s": 69.492,
    "l": 34.706
  },
  "oklch": {
    "l": 0.42742,
    "c": 0.13252,
    "h": 258.9
  },
  "luminance": 0.07604
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B4C96

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

Preview Lab → · Contrast checker → · Palette generator →

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