#1B3585#1B3585

#1B3585 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.3% C 0.138 H 265.9°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#1B3585
RGBrgb(27, 53, 133)
HSLhsl(225, 66%, 31%)
HSVhsv(225, 80%, 52%)
CMYKcmyk(79.7%, 60.2%, 0%, 47.8%)
CIE-LABlab(25.17, 21.14, -47.66)
CIE-LCHlch(25.17, 52.14, 293.92°)
OKLaboklab(36.28% -0.0098 -0.1377)
OKLCHoklch(36.28% 0.138 265.9)
XYZxyz(5.9572, 4.4720, 22.7350)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3585 #856B1B
analogous
#1B6A85 #1B3585 #361B85
triadic
#1B3585 #851B35 #35851B
tetradic
#1B3585 #851B6A #856B1B #1B8536
square
#1B3585 #851B6A #856B1B #1B8536
split-complementary
#1B3585 #85361B #6A851B
monochromatic
#060C1F #112152 #1B3585 #2549B8 #4267D9

Accessibility & contrast

On white

11.08
#1B3585 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B3585
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3585#FFFFFF#000000##FFFFFF
##1B35851.0011.081.8911.08
#FFFFFF11.081.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004188
Deuteranopia (green-blind)
#003783
Tritanopia (blue-blind)
#004957
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1b3585;
/* rgb */ color: rgb(27, 53, 133);
/* oklch */ color: oklch(36.3% 0.138 265.9);
Tailwind
colors: {
  custom: {
    50: '#696ba9',
    500: '#1b3585',
    950: '#000000',
  },
}
SCSS
$custom: #1b3585;
$custom-light: #696ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3585",
  "rgb": {
    "r": 27,
    "g": 53,
    "b": 133
  },
  "hsl": {
    "h": 225.283,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.36281,
    "c": 0.13801,
    "h": 265.9
  },
  "luminance": 0.04473
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B3585

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

Preview Lab → · Contrast checker → · Palette generator →

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