#1B3384#1B3384

#1B3384 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.8% C 0.139 H 266.5°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#1B3384
RGBrgb(27, 51, 132)
HSLhsl(226, 66%, 31%)
HSVhsv(226, 80%, 52%)
CMYKcmyk(79.5%, 61.4%, 0%, 48.2%)
CIE-LABlab(24.53, 22.13, -48.08)
CIE-LCHlch(24.53, 52.93, 294.72°)
OKLaboklab(35.78% -0.0084 -0.1389)
OKLCHoklch(35.78% 0.139 266.5)
XYZxyz(5.7992, 4.2660, 22.3431)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3384 #846C1B
analogous
#1B6784 #1B3384 #371B84
triadic
#1B3384 #841B33 #33841B
tetradic
#1B3384 #841B67 #846C1B #1B8437
square
#1B3384 #841B67 #846C1B #1B8437
split-complementary
#1B3384 #84371B #67841B
monochromatic
#060C1E #111F51 #1B3384 #2547B7 #4164D8

Accessibility & contrast

On white

11.33
#1B3384 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#1B3384 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3384
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3384#FFFFFF#000000##FFFFFF
##1B33841.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F87
Deuteranopia (green-blind)
#003682
Tritanopia (blue-blind)
#004856
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1b3384;
/* rgb */ color: rgb(27, 51, 132);
/* oklch */ color: oklch(35.8% 0.139 266.5);
Tailwind
colors: {
  custom: {
    50: '#696aa9',
    500: '#1b3384',
    950: '#000000',
  },
}
SCSS
$custom: #1b3384;
$custom-light: #696aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3384",
  "rgb": {
    "r": 27,
    "g": 51,
    "b": 132
  },
  "hsl": {
    "h": 226.286,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35775,
    "c": 0.13919,
    "h": 266.5
  },
  "luminance": 0.04267
}

Semantic roles & 50–950 ramp

primary
#1B3384
secondary
#B79D43
accent
#C23FE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #1B3384

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

Preview Lab → · Contrast checker → · Palette generator →

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