#1B3582#1B3582

#1B3582 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.0% C 0.134 H 265.7°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#1B3582
RGBrgb(27, 53, 130)
HSLhsl(225, 66%, 31%)
HSVhsv(225, 79%, 51%)
CMYKcmyk(79.2%, 59.2%, 0%, 49%)
CIE-LABlab(24.92, 19.93, -46.19)
CIE-LCHlch(24.92, 50.31, 293.33°)
OKLaboklab(36.01% -0.01 -0.1333)
OKLCHoklch(36.01% 0.134 265.7)
XYZxyz(5.7529, 4.3903, 21.6590)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3582 #82681B
analogous
#1B6882 #1B3582 #341B82
triadic
#1B3582 #821B35 #35821B
tetradic
#1B3582 #821B68 #82681B #1B8234
square
#1B3582 #821B68 #82681B #1B8234
split-complementary
#1B3582 #82341B #68821B
monochromatic
#060C1D #10204F #1B3582 #264AB5 #4066D7

Accessibility & contrast

On white

11.18
#1B3582 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#1B3582 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3582
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3582#FFFFFF#000000##FFFFFF
##1B35821.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004085
Deuteranopia (green-blind)
#003780
Tritanopia (blue-blind)
#004856
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1b3582;
/* rgb */ color: rgb(27, 53, 130);
/* oklch */ color: oklch(36.0% 0.134 265.7);
Tailwind
colors: {
  custom: {
    50: '#696ba7',
    500: '#1b3582',
    950: '#000000',
  },
}
SCSS
$custom: #1b3582;
$custom-light: #696ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3582",
  "rgb": {
    "r": 27,
    "g": 53,
    "b": 130
  },
  "hsl": {
    "h": 224.854,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.36013,
    "c": 0.13372,
    "h": 265.7
  },
  "luminance": 0.04391
}

Semantic roles & 50–950 ramp

primary
#1B3582
secondary
#B69943
accent
#BE3FE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1B3582

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

Preview Lab → · Contrast checker → · Palette generator →

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