#1B1989#1B1989

#1B1989 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.9% C 0.175 H 271.3°. Best body text is #FFFFFF at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#1B1989
RGBrgb(27, 25, 137)
HSLhsl(241, 69%, 32%)
HSVhsv(241, 82%, 54%)
CMYKcmyk(80.3%, 81.8%, 0%, 46.3%)
CIE-LABlab(18.94, 40.56, -60.41)
CIE-LCHlch(18.94, 72.77, 303.88°)
OKLaboklab(31.89% 0.0041 -0.1749)
OKLCHoklch(31.89% 0.175 271.3)
XYZxyz(5.3135, 2.7338, 23.9097)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1989 #878919
analogous
#194F89 #1B1989 #531989
triadic
#1B1989 #891B19 #19891B
tetradic
#1B1989 #89194F #878919 #198953
square
#1B1989 #89194F #878919 #198953
split-complementary
#1B1989 #895319 #4F8919
monochromatic
#070621 #111055 #1B1989 #2522BD #4340DC

Accessibility & contrast

On white

13.58
#1B1989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1B1989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1989
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1989#FFFFFF#000000##FFFFFF
##1B19891.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00338C
Deuteranopia (green-blind)
#002887
Tritanopia (blue-blind)
#003C51
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1b1989;
/* rgb */ color: rgb(27, 25, 137);
/* oklch */ color: oklch(31.9% 0.175 271.3);
Tailwind
colors: {
  custom: {
    50: '#6d58ad',
    500: '#1b1989',
    950: '#000000',
  },
}
SCSS
$custom: #1b1989;
$custom-light: #6d58ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1989",
  "rgb": {
    "r": 27,
    "g": 25,
    "b": 137
  },
  "hsl": {
    "h": 241.071,
    "s": 69.136,
    "l": 31.765
  },
  "oklch": {
    "l": 0.31886,
    "c": 0.17493,
    "h": 271.3
  },
  "luminance": 0.02734
}

Semantic roles & 50–950 ramp

primary
#1B1989
secondary
#BABC41
accent
#EC3CE9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #1B1989

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

Preview Lab → · Contrast checker → · Palette generator →

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