#1B2089#1B2089

#1B2089 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.9% C 0.168 H 270.6°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#1B2089
RGBrgb(27, 32, 137)
HSLhsl(237, 67%, 32%)
HSVhsv(237, 80%, 54%)
CMYKcmyk(80.3%, 76.6%, 0%, 46.3%)
CIE-LABlab(20.33, 36.60, -58.12)
CIE-LCHlch(20.33, 68.68, 302.20°)
OKLaboklab(32.86% 0.0016 -0.1683)
OKLCHoklch(32.86% 0.168 270.6)
XYZxyz(5.4823, 3.0716, 23.9660)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2089 #89841B
analogous
#1B5789 #1B2089 #4D1B89
triadic
#1B2089 #891B20 #20891B
tetradic
#1B2089 #891B57 #89841B #1B894D
square
#1B2089 #891B57 #89841B #1B894D
split-complementary
#1B2089 #894D1B #57891B
monochromatic
#070823 #111456 #1B2089 #252CBC #444BDA

Accessibility & contrast

On white

13.01
#1B2089 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1B2089 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2089
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2089#FFFFFF#000000##FFFFFF
##1B20891.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b2089;
/* rgb */ color: rgb(27, 32, 137);
/* oklch */ color: oklch(32.9% 0.168 270.6);
Tailwind
colors: {
  custom: {
    50: '#6d5dad',
    500: '#1b2089',
    950: '#000000',
  },
}
SCSS
$custom: #1b2089;
$custom-light: #6d5dad;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2089",
  "rgb": {
    "r": 27,
    "g": 32,
    "b": 137
  },
  "hsl": {
    "h": 237.273,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.3286,
    "c": 0.16833,
    "h": 270.6
  },
  "luminance": 0.03072
}

Semantic roles & 50–950 ramp

primary
#1B2089
secondary
#BCB644
accent
#E23EEA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1B2089

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

Preview Lab → · Contrast checker → · Palette generator →

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