#1B1E89#1B1E89

#1B1E89 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.6% C 0.170 H 270.8°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#1B1E89
RGBrgb(27, 30, 137)
HSLhsl(238, 67%, 32%)
HSVhsv(238, 80%, 54%)
CMYKcmyk(80.3%, 78.1%, 0%, 46.3%)
CIE-LABlab(19.91, 37.78, -58.81)
CIE-LCHlch(19.91, 69.90, 302.72°)
OKLaboklab(32.57% 0.0024 -0.1703)
OKLCHoklch(32.57% 0.17 270.8)
XYZxyz(5.4301, 2.9671, 23.9486)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1E89 #89861B
analogous
#1B5589 #1B1E89 #4F1B89
triadic
#1B1E89 #891B1E #1E891B
tetradic
#1B1E89 #891B55 #89861B #1B894F
square
#1B1E89 #891B55 #89861B #1B894F
split-complementary
#1B1E89 #894F1B #55891B
monochromatic
#070823 #111356 #1B1E89 #2529BC #4448DA

Accessibility & contrast

On white

13.18
#1B1E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#1B1E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1E89
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1E89#FFFFFF#000000##FFFFFF
##1B1E891.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368C
Deuteranopia (green-blind)
#002B87
Tritanopia (blue-blind)
#003E52
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1b1e89;
/* rgb */ color: rgb(27, 30, 137);
/* oklch */ color: oklch(32.6% 0.170 270.8);
Tailwind
colors: {
  custom: {
    50: '#6d5bad',
    500: '#1b1e89',
    950: '#000000',
  },
}
SCSS
$custom: #1b1e89;
$custom-light: #6d5bad;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1e89",
  "rgb": {
    "r": 27,
    "g": 30,
    "b": 137
  },
  "hsl": {
    "h": 238.364,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.32565,
    "c": 0.17032,
    "h": 270.8
  },
  "luminance": 0.02968
}

Semantic roles & 50–950 ramp

primary
#1B1E89
secondary
#BCB844
accent
#E53EEA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1B1E89

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

Preview Lab → · Contrast checker → · Palette generator →

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