#1B3C85#1B3C85

#1B3C85 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 37.8% C 0.129 H 263.3°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#1B3C85
RGBrgb(27, 60, 133)
HSLhsl(221, 66%, 31%)
HSVhsv(221, 80%, 52%)
CMYKcmyk(79.7%, 54.9%, 0%, 47.8%)
CIE-LABlab(27.18, 16.23, -44.40)
CIE-LCHlch(27.18, 47.28, 290.08°)
OKLaboklab(37.79% -0.0151 -0.128)
OKLCHoklch(37.79% 0.129 263.3)
XYZxyz(6.3000, 5.1575, 22.8492)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3C85 #85641B
analogous
#1B7185 #1B3C85 #2F1B85
triadic
#1B3C85 #851B3C #3C851B
tetradic
#1B3C85 #851B71 #85641B #1B852F
square
#1B3C85 #851B71 #85641B #1B852F
split-complementary
#1B3C85 #852F1B #71851B
monochromatic
#060E1F #112552 #1B3C85 #2553B8 #4271D9

Accessibility & contrast

On white

10.34
#1B3C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#1B3C85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3C85
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3C85#FFFFFF#000000##FFFFFF
##1B3C851.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044588
Deuteranopia (green-blind)
#003C84
Tritanopia (blue-blind)
#004E5A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1b3c85;
/* rgb */ color: rgb(27, 60, 133);
/* oklch */ color: oklch(37.8% 0.129 263.3);
Tailwind
colors: {
  custom: {
    50: '#6971a9',
    500: '#1b3c85',
    950: '#000000',
  },
}
SCSS
$custom: #1b3c85;
$custom-light: #6971a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3c85",
  "rgb": {
    "r": 27,
    "g": 60,
    "b": 133
  },
  "hsl": {
    "h": 221.321,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37792,
    "c": 0.12885,
    "h": 263.3
  },
  "luminance": 0.05158
}

Semantic roles & 50–950 ramp

primary
#1B3C85
secondary
#B89444
accent
#B43FE9
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #1B3C85

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

Preview Lab → · Contrast checker → · Palette generator →

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