#1B3793#1B3793

#1B3793 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.0% C 0.155 H 266.0°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#1B3793
RGBrgb(27, 55, 147)
HSLhsl(226, 69%, 34%)
HSVhsv(226, 82%, 58%)
CMYKcmyk(81.6%, 62.6%, 0%, 42.4%)
CIE-LABlab(26.94, 25.34, -53.46)
CIE-LCHlch(26.94, 59.16, 295.36°)
OKLaboklab(37.97% -0.0109 -0.1546)
OKLCHoklch(37.97% 0.155 266)
XYZxyz(7.0828, 5.0711, 28.2036)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3793 #93771B
analogous
#1B7393 #1B3793 #3B1B93
triadic
#1B3793 #931B37 #37931B
tetradic
#1B3793 #931B73 #93771B #1B933B
square
#1B3793 #931B73 #93771B #1B933B
split-complementary
#1B3793 #933B1B #73931B
monochromatic
#08102C #12245F #1B3793 #244AC7 #4B6DDE

Accessibility & contrast

On white

10.42
#1B3793 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#1B3793 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3793
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3793#FFFFFF#000000##FFFFFF
##1B37931.0010.422.0110.42
#FFFFFF10.421.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b3793;
/* rgb */ color: rgb(27, 55, 147);
/* oklch */ color: oklch(38.0% 0.155 266.0);
Tailwind
colors: {
  custom: {
    50: '#6d6db4',
    500: '#1b3793',
    950: '#000000',
  },
}
SCSS
$custom: #1b3793;
$custom-light: #6d6db4;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3793",
  "rgb": {
    "r": 27,
    "g": 55,
    "b": 147
  },
  "hsl": {
    "h": 226,
    "s": 68.966,
    "l": 34.118
  },
  "oklch": {
    "l": 0.37973,
    "c": 0.15502,
    "h": 266
  },
  "luminance": 0.05072
}

Semantic roles & 50–950 ramp

primary
#1B3793
secondary
#C0A44A
accent
#C33CEC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1B3793

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

Preview Lab → · Contrast checker → · Palette generator →

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