#1B4BB4#1B4BB4

#1B4BB4 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 45.0% C 0.175 H 262.9°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#1B4BB4
RGBrgb(27, 75, 180)
HSLhsl(221, 74%, 41%)
HSVhsv(221, 85%, 71%)
CMYKcmyk(85%, 58.3%, 0%, 29.4%)
CIE-LABlab(35.12, 24.80, -59.98)
CIE-LCHlch(35.12, 64.91, 292.47°)
OKLaboklab(44.96% -0.0217 -0.1735)
OKLCHoklch(44.96% 0.175 262.9)
XYZxyz(11.2033, 8.5591, 44.2328)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4BB4 #B4841B
analogous
#1B98B4 #1B4BB4 #371BB4
triadic
#1B4BB4 #B41B4B #4BB41B
tetradic
#1B4BB4 #B41B98 #B4841B #1BB437
square
#1B4BB4 #B41B98 #B4841B #1BB437
split-complementary
#1B4BB4 #B4371B #98B41B
monochromatic
#0B1F4A #13357F #1B4BB4 #2D65DF #628CE7

Accessibility & contrast

On white

7.74
#1B4BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#1B4BB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4BB4
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4BB4#FFFFFF#000000##FFFFFF
##1B4BB41.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB8
Deuteranopia (green-blind)
#004CB2
Tritanopia (blue-blind)
#006678
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1b4bb4;
/* rgb */ color: rgb(27, 75, 180);
/* oklch */ color: oklch(45.0% 0.175 262.9);
Tailwind
colors: {
  custom: {
    50: '#747ccb',
    500: '#1b4bb4',
    950: '#000000',
  },
}
SCSS
$custom: #1b4bb4;
$custom-light: #747ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4bb4",
  "rgb": {
    "r": 27,
    "g": 75,
    "b": 180
  },
  "hsl": {
    "h": 221.176,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44961,
    "c": 0.17481,
    "h": 262.9
  },
  "luminance": 0.0856
}

Semantic roles & 50–950 ramp

primary
#1B4BB4
secondary
#CCAA5F
accent
#B637F1
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #1B4BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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