#1B3388#1B3388

#1B3388 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.1% C 0.145 H 266.7°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#1B3388
RGBrgb(27, 51, 136)
HSLhsl(227, 67%, 32%)
HSVhsv(227, 80%, 53%)
CMYKcmyk(80.1%, 62.5%, 0%, 46.7%)
CIE-LABlab(24.88, 23.73, -50.01)
CIE-LCHlch(24.88, 55.36, 295.39°)
OKLaboklab(36.14% -0.0084 -0.1446)
OKLCHoklch(36.14% 0.145 266.7)
XYZxyz(6.0782, 4.3775, 23.8124)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3388 #88701B
analogous
#1B6A88 #1B3388 #3A1B88
triadic
#1B3388 #881B33 #33881B
tetradic
#1B3388 #881B6A #88701B #1B883A
square
#1B3388 #881B6A #88701B #1B883A
split-complementary
#1B3388 #883A1B #6A881B
monochromatic
#070D22 #112055 #1B3388 #2546BB #4465DA

Accessibility & contrast

On white

11.20
#1B3388 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#1B3388 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3388
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3388#FFFFFF#000000##FFFFFF
##1B33881.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408B
Deuteranopia (green-blind)
#003686
Tritanopia (blue-blind)
#004958
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1b3388;
/* rgb */ color: rgb(27, 51, 136);
/* oklch */ color: oklch(36.1% 0.145 266.7);
Tailwind
colors: {
  custom: {
    50: '#6a6aab',
    500: '#1b3388',
    950: '#000000',
  },
}
SCSS
$custom: #1b3388;
$custom-light: #6a6aab;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3388",
  "rgb": {
    "r": 27,
    "g": 51,
    "b": 136
  },
  "hsl": {
    "h": 226.789,
    "s": 66.871,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36145,
    "c": 0.14482,
    "h": 266.7
  },
  "luminance": 0.04378
}

Semantic roles & 50–950 ramp

primary
#1B3388
secondary
#BBA144
accent
#C43EEA
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #1B3388

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

Preview Lab → · Contrast checker → · Palette generator →

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