#1B3894#1B3894

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

Color values

HEX#1B3894
RGBrgb(27, 56, 148)
HSLhsl(226, 69%, 34%)
HSVhsv(226, 82%, 58%)
CMYKcmyk(81.8%, 62.2%, 0%, 42%)
CIE-LABlab(27.29, 25.05, -53.49)
CIE-LCHlch(27.29, 59.07, 295.09°)
OKLaboklab(38.27% -0.0115 -0.1547)
OKLCHoklch(38.27% 0.155 265.8)
XYZxyz(7.2096, 5.1986, 28.6347)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3894 #94771B
analogous
#1B7594 #1B3894 #3B1B94
triadic
#1B3894 #941B38 #38941B
tetradic
#1B3894 #941B75 #94771B #1B943B
square
#1B3894 #941B75 #94771B #1B943B
split-complementary
#1B3894 #943B1B #75941B
monochromatic
#08112C #122460 #1B3894 #244CC8 #4B6EDE

Accessibility & contrast

On white

10.30
#1B3894 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#1B3894 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3894
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3894#FFFFFF#000000##FFFFFF
##1B38941.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004697
Deuteranopia (green-blind)
#003B92
Tritanopia (blue-blind)
#005060
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1b3894;
/* rgb */ color: rgb(27, 56, 148);
/* oklch */ color: oklch(38.3% 0.155 265.8);
Tailwind
colors: {
  custom: {
    50: '#6d6eb4',
    500: '#1b3894',
    950: '#000000',
  },
}
SCSS
$custom: #1b3894;
$custom-light: #6d6eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3894",
  "rgb": {
    "r": 27,
    "g": 56,
    "b": 148
  },
  "hsl": {
    "h": 225.62,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.38266,
    "c": 0.15515,
    "h": 265.8
  },
  "luminance": 0.05199
}

Semantic roles & 50–950 ramp

primary
#1B3894
secondary
#C0A44B
accent
#C23CEC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1B3894

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

Preview Lab → · Contrast checker → · Palette generator →

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