#1B3892#1B3892

#1B3892 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.1% C 0.152 H 265.7°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#1B3892
RGBrgb(27, 56, 146)
HSLhsl(225, 69%, 34%)
HSVhsv(225, 82%, 57%)
CMYKcmyk(81.5%, 61.6%, 0%, 42.7%)
CIE-LABlab(27.12, 24.25, -52.55)
CIE-LCHlch(27.12, 57.88, 294.77°)
OKLaboklab(38.08% -0.0115 -0.1519)
OKLCHoklch(38.08% 0.152 265.7)
XYZxyz(7.0526, 5.1359, 27.8082)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3892 #92751B
analogous
#1B7492 #1B3892 #3A1B92
triadic
#1B3892 #921B38 #38921B
tetradic
#1B3892 #921B74 #92751B #1B923A
square
#1B3892 #921B74 #92751B #1B923A
split-complementary
#1B3892 #923A1B #74921B
monochromatic
#08102B #11245E #1B3892 #254CC6 #4A6EDE

Accessibility & contrast

On white

10.36
#1B3892 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#1B3892 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3892
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3892#FFFFFF#000000##FFFFFF
##1B38921.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004695
Deuteranopia (green-blind)
#003B90
Tritanopia (blue-blind)
#004F5F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1b3892;
/* rgb */ color: rgb(27, 56, 146);
/* oklch */ color: oklch(38.1% 0.152 265.7);
Tailwind
colors: {
  custom: {
    50: '#6d6eb3',
    500: '#1b3892',
    950: '#000000',
  },
}
SCSS
$custom: #1b3892;
$custom-light: #6d6eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3892",
  "rgb": {
    "r": 27,
    "g": 56,
    "b": 146
  },
  "hsl": {
    "h": 225.378,
    "s": 68.786,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38081,
    "c": 0.15239,
    "h": 265.7
  },
  "luminance": 0.05137
}

Semantic roles & 50–950 ramp

primary
#1B3892
secondary
#BFA349
accent
#C13CEC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1B3892

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

Preview Lab → · Contrast checker → · Palette generator →

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