#1B3580#1B3580

#1B3580 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.8% C 0.131 H 265.6°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#1B3580
RGBrgb(27, 53, 128)
HSLhsl(225, 65%, 30%)
HSVhsv(225, 79%, 50%)
CMYKcmyk(78.9%, 58.6%, 0%, 49.8%)
CIE-LABlab(24.76, 19.12, -45.21)
CIE-LCHlch(24.76, 49.09, 292.92°)
OKLaboklab(35.84% -0.0101 -0.1304)
OKLCHoklch(35.84% 0.131 265.6)
XYZxyz(5.6200, 4.3371, 20.9588)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3580 #80661B
analogous
#1B6880 #1B3580 #331B80
triadic
#1B3580 #801B35 #35801B
tetradic
#1B3580 #801B68 #80661B #1B8033
square
#1B3580 #801B68 #80661B #1B8033
split-complementary
#1B3580 #80331B #68801B
monochromatic
#060B1B #10204D #1B3580 #264AB3 #3F66D6

Accessibility & contrast

On white

11.24
#1B3580 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#1B3580 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3580
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3580#FFFFFF#000000##FFFFFF
##1B35801.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004083
Deuteranopia (green-blind)
#00367F
Tritanopia (blue-blind)
#004855
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1b3580;
/* rgb */ color: rgb(27, 53, 128);
/* oklch */ color: oklch(35.8% 0.131 265.6);
Tailwind
colors: {
  custom: {
    50: '#686ba5',
    500: '#1b3580',
    950: '#000000',
  },
}
SCSS
$custom: #1b3580;
$custom-light: #686ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3580",
  "rgb": {
    "r": 27,
    "g": 53,
    "b": 128
  },
  "hsl": {
    "h": 224.554,
    "s": 65.161,
    "l": 30.392
  },
  "oklch": {
    "l": 0.35837,
    "c": 0.13084,
    "h": 265.6
  },
  "luminance": 0.04338
}

Semantic roles & 50–950 ramp

primary
#1B3580
secondary
#B49743
accent
#BD40E8
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1B3580

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

Preview Lab → · Contrast checker → · Palette generator →

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