#1B3992#1B3992

#1B3992 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.3% C 0.151 H 265.4°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#1B3992
RGBrgb(27, 57, 146)
HSLhsl(225, 69%, 34%)
HSVhsv(225, 82%, 57%)
CMYKcmyk(81.5%, 61%, 0%, 42.7%)
CIE-LABlab(27.39, 23.56, -52.11)
CIE-LCHlch(27.39, 57.19, 294.33°)
OKLaboklab(38.28% -0.0121 -0.1506)
OKLCHoklch(38.28% 0.151 265.4)
XYZxyz(7.1016, 5.2338, 27.8245)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3992 #92741B
analogous
#1B7592 #1B3992 #391B92
triadic
#1B3992 #921B39 #39921B
tetradic
#1B3992 #921B75 #92741B #1B9239
square
#1B3992 #921B75 #92741B #1B9239
split-complementary
#1B3992 #92391B #75921B
monochromatic
#08112B #11255E #1B3992 #254DC6 #4A6FDE

Accessibility & contrast

On white

10.26
#1B3992 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#1B3992 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3992
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3992#FFFFFF#000000##FFFFFF
##1B39921.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004695
Deuteranopia (green-blind)
#003B90
Tritanopia (blue-blind)
#00505F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1b3992;
/* rgb */ color: rgb(27, 57, 146);
/* oklch */ color: oklch(38.3% 0.151 265.4);
Tailwind
colors: {
  custom: {
    50: '#6d6fb3',
    500: '#1b3992',
    950: '#000000',
  },
}
SCSS
$custom: #1b3992;
$custom-light: #6d6fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3992",
  "rgb": {
    "r": 27,
    "g": 57,
    "b": 146
  },
  "hsl": {
    "h": 224.874,
    "s": 68.786,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38284,
    "c": 0.15113,
    "h": 265.4
  },
  "luminance": 0.05235
}

Semantic roles & 50–950 ramp

primary
#1B3992
secondary
#BFA249
accent
#BF3CEC
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1B3992

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

Preview Lab → · Contrast checker → · Palette generator →

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