#1B3893#1B3893

#1B3893 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.2% C 0.154 H 265.7°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#1B3893
RGBrgb(27, 56, 147)
HSLhsl(226, 69%, 34%)
HSVhsv(226, 82%, 58%)
CMYKcmyk(81.6%, 61.9%, 0%, 42.4%)
CIE-LABlab(27.21, 24.65, -53.02)
CIE-LCHlch(27.21, 58.47, 294.93°)
OKLaboklab(38.17% -0.0115 -0.1533)
OKLCHoklch(38.17% 0.154 265.7)
XYZxyz(7.1308, 5.1671, 28.2196)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3893 #93761B
analogous
#1B7493 #1B3893 #3A1B93
triadic
#1B3893 #931B38 #38931B
tetradic
#1B3893 #931B74 #93761B #1B933A
square
#1B3893 #931B74 #93761B #1B933A
split-complementary
#1B3893 #933A1B #74931B
monochromatic
#08112C #12245F #1B3893 #244CC7 #4B6EDE

Accessibility & contrast

On white

10.33
#1B3893 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B3893
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3893#FFFFFF#000000##FFFFFF
##1B38931.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004696
Deuteranopia (green-blind)
#003B91
Tritanopia (blue-blind)
#004F60
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1b3893;
/* rgb */ color: rgb(27, 56, 147);
/* oklch */ color: oklch(38.2% 0.154 265.7);
Tailwind
colors: {
  custom: {
    50: '#6d6eb4',
    500: '#1b3893',
    950: '#000000',
  },
}
SCSS
$custom: #1b3893;
$custom-light: #6d6eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3893",
  "rgb": {
    "r": 27,
    "g": 56,
    "b": 147
  },
  "hsl": {
    "h": 225.5,
    "s": 68.966,
    "l": 34.118
  },
  "oklch": {
    "l": 0.38173,
    "c": 0.15377,
    "h": 265.7
  },
  "luminance": 0.05168
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B3893

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

Preview Lab → · Contrast checker → · Palette generator →

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