#1B4399#1B4399

#1B4399 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.0% C 0.148 H 262.8°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#1B4399
RGBrgb(27, 67, 153)
HSLhsl(221, 70%, 35%)
HSVhsv(221, 82%, 60%)
CMYKcmyk(82.4%, 56.2%, 0%, 40%)
CIE-LABlab(30.75, 19.48, -50.91)
CIE-LCHlch(30.75, 54.51, 290.94°)
OKLaboklab(40.99% -0.0185 -0.147)
OKLCHoklch(40.99% 0.148 262.8)
XYZxyz(8.2069, 6.5462, 30.9618)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4399 #99711B
analogous
#1B8299 #1B4399 #321B99
triadic
#1B4399 #991B43 #43991B
tetradic
#1B4399 #991B82 #99711B #1B9932
square
#1B4399 #991B82 #99711B #1B9932
split-complementary
#1B4399 #99321B #82991B
monochromatic
#091531 #122C65 #1B4399 #245ACD #4F7DE0

Accessibility & contrast

On white

9.09
#1B4399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#1B4399 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4399
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4399#FFFFFF#000000##FFFFFF
##1B43991.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9C
Deuteranopia (green-blind)
#004397
Tritanopia (blue-blind)
#005867
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1b4399;
/* rgb */ color: rgb(27, 67, 153);
/* oklch */ color: oklch(41.0% 0.148 262.8);
Tailwind
colors: {
  custom: {
    50: '#6e76b8',
    500: '#1b4399',
    950: '#000000',
  },
}
SCSS
$custom: #1b4399;
$custom-light: #6e76b8;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4399",
  "rgb": {
    "r": 27,
    "g": 67,
    "b": 153
  },
  "hsl": {
    "h": 220.952,
    "s": 70,
    "l": 35.294
  },
  "oklch": {
    "l": 0.4099,
    "c": 0.14811,
    "h": 262.8
  },
  "luminance": 0.06547
}

Semantic roles & 50–950 ramp

primary
#1B4399
secondary
#C29D4E
accent
#B43BED
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1B4399

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

Preview Lab → · Contrast checker → · Palette generator →

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