#1B3382#1B3382

#1B3382 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.6% C 0.136 H 266.4°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#1B3382
RGBrgb(27, 51, 130)
HSLhsl(226, 66%, 31%)
HSVhsv(226, 79%, 51%)
CMYKcmyk(79.2%, 60.8%, 0%, 49%)
CIE-LABlab(24.36, 21.33, -47.11)
CIE-LCHlch(24.36, 51.72, 294.36°)
OKLaboklab(35.59% -0.0085 -0.1361)
OKLCHoklch(35.59% 0.136 266.4)
XYZxyz(5.6637, 4.2117, 21.6292)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3382 #826A1B
analogous
#1B6682 #1B3382 #361B82
triadic
#1B3382 #821B33 #33821B
tetradic
#1B3382 #821B66 #826A1B #1B8236
square
#1B3382 #821B66 #826A1B #1B8236
split-complementary
#1B3382 #82361B #66821B
monochromatic
#060B1D #101F4F #1B3382 #2647B5 #4063D7

Accessibility & contrast

On white

11.40
#1B3382 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#1B3382 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3382
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3382#FFFFFF#000000##FFFFFF
##1B33821.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F85
Deuteranopia (green-blind)
#003580
Tritanopia (blue-blind)
#004755
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1b3382;
/* rgb */ color: rgb(27, 51, 130);
/* oklch */ color: oklch(35.6% 0.136 266.4);
Tailwind
colors: {
  custom: {
    50: '#696aa7',
    500: '#1b3382',
    950: '#000000',
  },
}
SCSS
$custom: #1b3382;
$custom-light: #696aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3382",
  "rgb": {
    "r": 27,
    "g": 51,
    "b": 130
  },
  "hsl": {
    "h": 226.019,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35592,
    "c": 0.13634,
    "h": 266.4
  },
  "luminance": 0.04212
}

Semantic roles & 50–950 ramp

primary
#1B3382
secondary
#B69B43
accent
#C13FE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1B3382

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

Preview Lab → · Contrast checker → · Palette generator →

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