#1B3383#1B3383

#1B3383 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.7% C 0.138 H 266.5°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#1B3383
RGBrgb(27, 51, 131)
HSLhsl(226, 66%, 31%)
HSVhsv(226, 79%, 51%)
CMYKcmyk(79.4%, 61.1%, 0%, 48.6%)
CIE-LABlab(24.45, 21.73, -47.60)
CIE-LCHlch(24.45, 52.33, 294.54°)
OKLaboklab(35.68% -0.0085 -0.1375)
OKLCHoklch(35.68% 0.138 266.5)
XYZxyz(5.7311, 4.2387, 21.9844)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3383 #836B1B
analogous
#1B6783 #1B3383 #371B83
triadic
#1B3383 #831B33 #33831B
tetradic
#1B3383 #831B67 #836B1B #1B8337
square
#1B3383 #831B67 #836B1B #1B8337
split-complementary
#1B3383 #83371B #67831B
monochromatic
#060B1E #111F50 #1B3383 #2547B6 #4164D8

Accessibility & contrast

On white

11.36
#1B3383 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B3383
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3383#FFFFFF#000000##FFFFFF
##1B33831.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b3383;
/* rgb */ color: rgb(27, 51, 131);
/* oklch */ color: oklch(35.7% 0.138 266.5);
Tailwind
colors: {
  custom: {
    50: '#696aa8',
    500: '#1b3383',
    950: '#000000',
  },
}
SCSS
$custom: #1b3383;
$custom-light: #696aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3383",
  "rgb": {
    "r": 27,
    "g": 51,
    "b": 131
  },
  "hsl": {
    "h": 226.154,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35683,
    "c": 0.13776,
    "h": 266.5
  },
  "luminance": 0.04239
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B3383

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

Preview Lab → · Contrast checker → · Palette generator →

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