#1B4A91#1B4A91

#1B4A91 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 41.9% C 0.128 H 258.8°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#1B4A91
RGBrgb(27, 74, 145)
HSLhsl(216, 69%, 34%)
HSVhsv(216, 81%, 57%)
CMYKcmyk(81.4%, 49%, 0%, 43.1%)
CIE-LABlab(32.20, 11.45, -43.69)
CIE-LCHlch(32.20, 45.17, 284.69°)
OKLaboklab(41.91% -0.0248 -0.1256)
OKLCHoklch(41.91% 0.128 258.8)
XYZxyz(8.0097, 7.1739, 27.7451)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4A91 #91621B
analogous
#1B8591 #1B4A91 #271B91
triadic
#1B4A91 #911B4A #4A911B
tetradic
#1B4A91 #911B85 #91621B #1B9127
square
#1B4A91 #911B85 #91621B #1B9127
split-complementary
#1B4A91 #91271B #85911B
monochromatic
#08152A #11305D #1B4A91 #2564C5 #4984DD

Accessibility & contrast

On white

8.62
#1B4A91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#1B4A91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4A91
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4A91#FFFFFF#000000##FFFFFF
##1B4A911.008.622.438.62
#FFFFFF8.621.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225194
Deuteranopia (green-blind)
#004790
Tritanopia (blue-blind)
#005B66
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1b4a91;
/* rgb */ color: rgb(27, 74, 145);
/* oklch */ color: oklch(41.9% 0.128 258.8);
Tailwind
colors: {
  custom: {
    50: '#6b7bb2',
    500: '#1b4a91',
    950: '#000000',
  },
}
SCSS
$custom: #1b4a91;
$custom-light: #6b7bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4a91",
  "rgb": {
    "r": 27,
    "g": 74,
    "b": 145
  },
  "hsl": {
    "h": 216.102,
    "s": 68.605,
    "l": 33.725
  },
  "oklch": {
    "l": 0.41907,
    "c": 0.128,
    "h": 258.8
  },
  "luminance": 0.07175
}

Semantic roles & 50–950 ramp

primary
#1B4A91
secondary
#BF9049
accent
#A63CEB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1B4A91

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

Preview Lab → · Contrast checker → · Palette generator →

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