#1B3A86#1B3A86

#1B3A86 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.4% C 0.133 H 264.2°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#1B3A86
RGBrgb(27, 58, 134)
HSLhsl(223, 66%, 32%)
HSVhsv(223, 80%, 53%)
CMYKcmyk(79.9%, 56.7%, 0%, 47.5%)
CIE-LABlab(26.68, 18.04, -45.84)
CIE-LCHlch(26.68, 49.26, 291.48°)
OKLaboklab(37.44% -0.0135 -0.1322)
OKLCHoklch(37.44% 0.133 264.2)
XYZxyz(6.2666, 4.9796, 23.1805)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3A86 #86671B
analogous
#1B7086 #1B3A86 #321B86
triadic
#1B3A86 #861B3A #3A861B
tetradic
#1B3A86 #861B70 #86671B #1B8632
square
#1B3A86 #861B70 #86671B #1B8632
split-complementary
#1B3A86 #86321B #70861B
monochromatic
#060E20 #112453 #1B3A86 #2550B9 #426ED9

Accessibility & contrast

On white

10.52
#1B3A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#1B3A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3A86
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3A86#FFFFFF#000000##FFFFFF
##1B3A861.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004489
Deuteranopia (green-blind)
#003A85
Tritanopia (blue-blind)
#004D5A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1b3a86;
/* rgb */ color: rgb(27, 58, 134);
/* oklch */ color: oklch(37.4% 0.133 264.2);
Tailwind
colors: {
  custom: {
    50: '#696faa',
    500: '#1b3a86',
    950: '#000000',
  },
}
SCSS
$custom: #1b3a86;
$custom-light: #696faa;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3a86",
  "rgb": {
    "r": 27,
    "g": 58,
    "b": 134
  },
  "hsl": {
    "h": 222.617,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37437,
    "c": 0.13291,
    "h": 264.2
  },
  "luminance": 0.0498
}

Semantic roles & 50–950 ramp

primary
#1B3A86
secondary
#B99744
accent
#B83EE9
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #1B3A86

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

Preview Lab → · Contrast checker → · Palette generator →

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