#1B3989#1B3989

#1B3989 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.5% C 0.139 H 264.8°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#1B3989
RGBrgb(27, 57, 137)
HSLhsl(224, 67%, 32%)
HSVhsv(224, 80%, 54%)
CMYKcmyk(80.3%, 58.4%, 0%, 46.3%)
CIE-LABlab(26.63, 19.95, -47.78)
CIE-LCHlch(26.63, 51.78, 292.67°)
OKLaboklab(37.48% -0.0125 -0.1379)
OKLCHoklch(37.48% 0.139 264.8)
XYZxyz(6.4289, 4.9647, 24.2815)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3989 #896B1B
analogous
#1B7089 #1B3989 #341B89
triadic
#1B3989 #891B39 #39891B
tetradic
#1B3989 #891B70 #896B1B #1B8934
square
#1B3989 #891B70 #896B1B #1B8934
split-complementary
#1B3989 #89341B #70891B
monochromatic
#070E23 #112456 #1B3989 #254EBC #446DDA

Accessibility & contrast

On white

10.54
#1B3989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#1B3989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3989
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3989#FFFFFF#000000##FFFFFF
##1B39891.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448C
Deuteranopia (green-blind)
#003A87
Tritanopia (blue-blind)
#004D5B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1b3989;
/* rgb */ color: rgb(27, 57, 137);
/* oklch */ color: oklch(37.5% 0.139 264.8);
Tailwind
colors: {
  custom: {
    50: '#6a6eac',
    500: '#1b3989',
    950: '#000000',
  },
}
SCSS
$custom: #1b3989;
$custom-light: #6a6eac;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3989",
  "rgb": {
    "r": 27,
    "g": 57,
    "b": 137
  },
  "hsl": {
    "h": 223.636,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37481,
    "c": 0.1385,
    "h": 264.8
  },
  "luminance": 0.04965
}

Semantic roles & 50–950 ramp

primary
#1B3989
secondary
#BC9B44
accent
#BB3EEA
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #1B3989

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

Preview Lab → · Contrast checker → · Palette generator →

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