#1B4896#1B4896

#1B4896 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 41.8% C 0.138 H 260.6°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#1B4896
RGBrgb(27, 72, 150)
HSLhsl(218, 69%, 35%)
HSVhsv(218, 82%, 59%)
CMYKcmyk(82%, 52%, 0%, 41.2%)
CIE-LABlab(31.96, 14.84, -47.12)
CIE-LCHlch(31.96, 49.41, 287.49°)
OKLaboklab(41.84% -0.0224 -0.1357)
OKLCHoklch(41.84% 0.138 260.6)
XYZxyz(8.2724, 7.0688, 29.7767)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4896 #96691B
analogous
#1B8696 #1B4896 #2C1B96
triadic
#1B4896 #961B48 #48961B
tetradic
#1B4896 #961B86 #96691B #1B962C
square
#1B4896 #961B86 #96691B #1B962C
split-complementary
#1B4896 #962C1B #86961B
monochromatic
#08162E #122F62 #1B4896 #2461CA #4D82DF

Accessibility & contrast

On white

8.70
#1B4896 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#1B4896 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4896
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4896#FFFFFF#000000##FFFFFF
##1B48961.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155199
Deuteranopia (green-blind)
#004694
Tritanopia (blue-blind)
#005B68
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1b4896;
/* rgb */ color: rgb(27, 72, 150);
/* oklch */ color: oklch(41.8% 0.138 260.6);
Tailwind
colors: {
  custom: {
    50: '#6d7ab5',
    500: '#1b4896',
    950: '#000000',
  },
}
SCSS
$custom: #1b4896;
$custom-light: #6d7ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4896",
  "rgb": {
    "r": 27,
    "g": 72,
    "b": 150
  },
  "hsl": {
    "h": 218.049,
    "s": 69.492,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41839,
    "c": 0.13755,
    "h": 260.6
  },
  "luminance": 0.0707
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B4896

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

Preview Lab → · Contrast checker → · Palette generator →

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