#1B3994#1B3994

#1B3994 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.5% C 0.154 H 265.5°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#1B3994
RGBrgb(27, 57, 148)
HSLhsl(225, 69%, 34%)
HSVhsv(225, 82%, 58%)
CMYKcmyk(81.8%, 61.5%, 0%, 42%)
CIE-LABlab(27.56, 24.36, -53.05)
CIE-LCHlch(27.56, 58.38, 294.66°)
OKLaboklab(38.47% -0.0121 -0.1534)
OKLCHoklch(38.47% 0.154 265.5)
XYZxyz(7.2585, 5.2965, 28.6510)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3994 #94761B
analogous
#1B7694 #1B3994 #3A1B94
triadic
#1B3994 #941B39 #39941B
tetradic
#1B3994 #941B76 #94761B #1B943A
square
#1B3994 #941B76 #94761B #1B943A
split-complementary
#1B3994 #943A1B #76941B
monochromatic
#08112C #122560 #1B3994 #244DC8 #4B70DE

Accessibility & contrast

On white

10.20
#1B3994 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#1B3994 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3994
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3994#FFFFFF#000000##FFFFFF
##1B39941.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004797
Deuteranopia (green-blind)
#003C92
Tritanopia (blue-blind)
#005061
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1b3994;
/* rgb */ color: rgb(27, 57, 148);
/* oklch */ color: oklch(38.5% 0.154 265.5);
Tailwind
colors: {
  custom: {
    50: '#6d6fb4',
    500: '#1b3994',
    950: '#000000',
  },
}
SCSS
$custom: #1b3994;
$custom-light: #6d6fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3994",
  "rgb": {
    "r": 27,
    "g": 57,
    "b": 148
  },
  "hsl": {
    "h": 225.124,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.38467,
    "c": 0.15389,
    "h": 265.5
  },
  "luminance": 0.05297
}

Semantic roles & 50–950 ramp

primary
#1B3994
secondary
#C0A34B
accent
#C03CEC
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1B3994

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

Preview Lab → · Contrast checker → · Palette generator →

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