#1B3983#1B3983

#1B3983 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.0% C 0.130 H 264.3°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#1B3983
RGBrgb(27, 57, 131)
HSLhsl(223, 66%, 31%)
HSVhsv(223, 79%, 51%)
CMYKcmyk(79.4%, 56.5%, 0%, 48.6%)
CIE-LABlab(26.15, 17.52, -44.83)
CIE-LCHlch(26.15, 48.13, 291.35°)
OKLaboklab(36.96% -0.0129 -0.1292)
OKLCHoklch(36.96% 0.13 264.3)
XYZxyz(6.0104, 4.7973, 22.0775)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3983 #83651B
analogous
#1B6D83 #1B3983 #311B83
triadic
#1B3983 #831B39 #39831B
tetradic
#1B3983 #831B6D #83651B #1B8331
square
#1B3983 #831B6D #83651B #1B8331
split-complementary
#1B3983 #83311B #6D831B
monochromatic
#060D1E #112350 #1B3983 #254FB6 #416CD8

Accessibility & contrast

On white

10.72
#1B3983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#1B3983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3983
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3983#FFFFFF#000000##FFFFFF
##1B39831.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004386
Deuteranopia (green-blind)
#003982
Tritanopia (blue-blind)
#004B58
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1b3983;
/* rgb */ color: rgb(27, 57, 131);
/* oklch */ color: oklch(37.0% 0.130 264.3);
Tailwind
colors: {
  custom: {
    50: '#696ea8',
    500: '#1b3983',
    950: '#000000',
  },
}
SCSS
$custom: #1b3983;
$custom-light: #696ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3983",
  "rgb": {
    "r": 27,
    "g": 57,
    "b": 131
  },
  "hsl": {
    "h": 222.692,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.36963,
    "c": 0.1299,
    "h": 264.3
  },
  "luminance": 0.04798
}

Semantic roles & 50–950 ramp

primary
#1B3983
secondary
#B69543
accent
#B83FE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #1B3983

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

Preview Lab → · Contrast checker → · Palette generator →

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