#1B3882#1B3882

#1B3882 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.7% C 0.130 H 264.6°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#1B3882
RGBrgb(27, 56, 130)
HSLhsl(223, 66%, 31%)
HSVhsv(223, 79%, 51%)
CMYKcmyk(79.2%, 56.9%, 0%, 49%)
CIE-LABlab(25.78, 17.82, -44.80)
CIE-LCHlch(25.78, 48.21, 291.69°)
OKLaboklab(36.66% -0.0122 -0.1292)
OKLCHoklch(36.66% 0.13 264.6)
XYZxyz(5.8940, 4.6724, 21.7060)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3882 #82651B
analogous
#1B6B82 #1B3882 #311B82
triadic
#1B3882 #821B38 #38821B
tetradic
#1B3882 #821B6B #82651B #1B8231
square
#1B3882 #821B6B #82651B #1B8231
split-complementary
#1B3882 #82311B #6B821B
monochromatic
#060C1D #10224F #1B3882 #264EB5 #406BD7

Accessibility & contrast

On white

10.85
#1B3882 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#1B3882 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3882
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3882#FFFFFF#000000##FFFFFF
##1B38821.0010.851.9310.85
#FFFFFF10.851.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004285
Deuteranopia (green-blind)
#003981
Tritanopia (blue-blind)
#004A57
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1b3882;
/* rgb */ color: rgb(27, 56, 130);
/* oklch */ color: oklch(36.7% 0.130 264.6);
Tailwind
colors: {
  custom: {
    50: '#686ea7',
    500: '#1b3882',
    950: '#000000',
  },
}
SCSS
$custom: #1b3882;
$custom-light: #686ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3882",
  "rgb": {
    "r": 27,
    "g": 56,
    "b": 130
  },
  "hsl": {
    "h": 223.107,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.36659,
    "c": 0.12977,
    "h": 264.6
  },
  "luminance": 0.04673
}

Semantic roles & 50–950 ramp

primary
#1B3882
secondary
#B69543
accent
#B93FE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1B3882

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

Preview Lab → · Contrast checker → · Palette generator →

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