#1B3889#1B3889

#1B3889 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.3% C 0.140 H 265.2°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#1B3889
RGBrgb(27, 56, 137)
HSLhsl(224, 67%, 32%)
HSVhsv(224, 80%, 54%)
CMYKcmyk(80.3%, 59.1%, 0%, 46.3%)
CIE-LABlab(26.35, 20.65, -48.24)
CIE-LCHlch(26.35, 52.47, 293.18°)
OKLaboklab(37.27% -0.0118 -0.1393)
OKLCHoklch(37.27% 0.14 265.2)
XYZxyz(6.3799, 4.8668, 24.2652)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3889 #896C1B
analogous
#1B6F89 #1B3889 #351B89
triadic
#1B3889 #891B38 #38891B
tetradic
#1B3889 #891B6F #896C1B #1B8935
square
#1B3889 #891B6F #896C1B #1B8935
split-complementary
#1B3889 #89351B #6F891B
monochromatic
#070E23 #112356 #1B3889 #254DBC #446CDA

Accessibility & contrast

On white

10.64
#1B3889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#1B3889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3889
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3889#FFFFFF#000000##FFFFFF
##1B38891.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448C
Deuteranopia (green-blind)
#003987
Tritanopia (blue-blind)
#004C5A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1b3889;
/* rgb */ color: rgb(27, 56, 137);
/* oklch */ color: oklch(37.3% 0.140 265.2);
Tailwind
colors: {
  custom: {
    50: '#6a6eac',
    500: '#1b3889',
    950: '#000000',
  },
}
SCSS
$custom: #1b3889;
$custom-light: #6a6eac;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3889",
  "rgb": {
    "r": 27,
    "g": 56,
    "b": 137
  },
  "hsl": {
    "h": 224.182,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37269,
    "c": 0.13979,
    "h": 265.2
  },
  "luminance": 0.04868
}

Semantic roles & 50–950 ramp

primary
#1B3889
secondary
#BC9C44
accent
#BD3EEA
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #1B3889

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

Preview Lab → · Contrast checker → · Palette generator →

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