#1B3689#1B3689

#1B3689 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.9% C 0.142 H 265.8°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#1B3689
RGBrgb(27, 54, 137)
HSLhsl(225, 67%, 32%)
HSVhsv(225, 80%, 54%)
CMYKcmyk(80.3%, 60.6%, 0%, 46.3%)
CIE-LABlab(25.79, 22.04, -49.15)
CIE-LCHlch(25.79, 53.86, 294.16°)
OKLaboklab(36.85% -0.0104 -0.142)
OKLCHoklch(36.85% 0.142 265.8)
XYZxyz(6.2849, 4.6768, 24.2335)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3689 #896E1B
analogous
#1B6D89 #1B3689 #371B89
triadic
#1B3689 #891B36 #36891B
tetradic
#1B3689 #891B6D #896E1B #1B8937
square
#1B3689 #891B6D #896E1B #1B8937
split-complementary
#1B3689 #89371B #6D891B
monochromatic
#070E23 #112256 #1B3689 #254ABC #4469DA

Accessibility & contrast

On white

10.85
#1B3689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#1B3689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3689
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3689#FFFFFF#000000##FFFFFF
##1B36891.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428C
Deuteranopia (green-blind)
#003887
Tritanopia (blue-blind)
#004B5A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1b3689;
/* rgb */ color: rgb(27, 54, 137);
/* oklch */ color: oklch(36.9% 0.142 265.8);
Tailwind
colors: {
  custom: {
    50: '#6a6cac',
    500: '#1b3689',
    950: '#000000',
  },
}
SCSS
$custom: #1b3689;
$custom-light: #6a6cac;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3689",
  "rgb": {
    "r": 27,
    "g": 54,
    "b": 137
  },
  "hsl": {
    "h": 225.273,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36851,
    "c": 0.14238,
    "h": 265.8
  },
  "luminance": 0.04677
}

Semantic roles & 50–950 ramp

primary
#1B3689
secondary
#BC9E44
accent
#C03EEA
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #1B3689

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

Preview Lab → · Contrast checker → · Palette generator →

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