#1B3D89#1B3D89

#1B3D89 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.3% C 0.133 H 263.3°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#1B3D89
RGBrgb(27, 61, 137)
HSLhsl(221, 67%, 32%)
HSVhsv(221, 80%, 54%)
CMYKcmyk(80.3%, 55.5%, 0%, 46.3%)
CIE-LABlab(27.78, 17.16, -45.91)
CIE-LCHlch(27.78, 49.02, 290.50°)
OKLaboklab(38.35% -0.0155 -0.1324)
OKLCHoklch(38.35% 0.133 263.3)
XYZxyz(6.6345, 5.3759, 24.3500)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3D89 #89671B
analogous
#1B7489 #1B3D89 #301B89
triadic
#1B3D89 #891B3D #3D891B
tetradic
#1B3D89 #891B74 #89671B #1B8930
square
#1B3D89 #891B74 #89671B #1B8930
split-complementary
#1B3D89 #89301B #74891B
monochromatic
#070F23 #112656 #1B3D89 #2554BC #4473DA

Accessibility & contrast

On white

10.12
#1B3D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#1B3D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3D89
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3D89#FFFFFF#000000##FFFFFF
##1B3D891.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478C
Deuteranopia (green-blind)
#003D88
Tritanopia (blue-blind)
#00505D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1b3d89;
/* rgb */ color: rgb(27, 61, 137);
/* oklch */ color: oklch(38.3% 0.133 263.3);
Tailwind
colors: {
  custom: {
    50: '#6a71ac',
    500: '#1b3d89',
    950: '#000000',
  },
}
SCSS
$custom: #1b3d89;
$custom-light: #6a71ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3d89",
  "rgb": {
    "r": 27,
    "g": 61,
    "b": 137
  },
  "hsl": {
    "h": 221.455,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.38346,
    "c": 0.13329,
    "h": 263.3
  },
  "luminance": 0.05377
}

Semantic roles & 50–950 ramp

primary
#1B3D89
secondary
#BC9744
accent
#B53EEA
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #1B3D89

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

Preview Lab → · Contrast checker → · Palette generator →

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