#1B3584#1B3584

#1B3584 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.2% C 0.137 H 265.9°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#1B3584
RGBrgb(27, 53, 132)
HSLhsl(225, 66%, 31%)
HSVhsv(225, 80%, 52%)
CMYKcmyk(79.5%, 59.8%, 0%, 48.2%)
CIE-LABlab(25.09, 20.73, -47.17)
CIE-LCHlch(25.09, 51.53, 293.73°)
OKLaboklab(36.19% -0.0099 -0.1362)
OKLCHoklch(36.19% 0.137 265.9)
XYZxyz(5.8885, 4.4445, 22.3729)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3584 #846A1B
analogous
#1B6984 #1B3584 #351B84
triadic
#1B3584 #841B35 #35841B
tetradic
#1B3584 #841B69 #846A1B #1B8435
square
#1B3584 #841B69 #846A1B #1B8435
split-complementary
#1B3584 #84351B #69841B
monochromatic
#060C1E #112151 #1B3584 #2549B7 #4167D8

Accessibility & contrast

On white

11.12
#1B3584 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#1B3584 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3584
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3584#FFFFFF#000000##FFFFFF
##1B35841.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004187
Deuteranopia (green-blind)
#003782
Tritanopia (blue-blind)
#004957
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1b3584;
/* rgb */ color: rgb(27, 53, 132);
/* oklch */ color: oklch(36.2% 0.137 265.9);
Tailwind
colors: {
  custom: {
    50: '#696ba8',
    500: '#1b3584',
    950: '#000000',
  },
}
SCSS
$custom: #1b3584;
$custom-light: #696ba8;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3584",
  "rgb": {
    "r": 27,
    "g": 53,
    "b": 132
  },
  "hsl": {
    "h": 225.143,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.36192,
    "c": 0.13659,
    "h": 265.9
  },
  "luminance": 0.04445
}

Semantic roles & 50–950 ramp

primary
#1B3584
secondary
#B79B43
accent
#BF3FE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #1B3584

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

Preview Lab → · Contrast checker → · Palette generator →

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