#1B1890#1B1890

#1B1890 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.6% C 0.184 H 270.9°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#1B1890
RGBrgb(27, 24, 144)
HSLhsl(242, 71%, 33%)
HSVhsv(242, 83%, 56%)
CMYKcmyk(81.3%, 83.3%, 0%, 43.5%)
CIE-LABlab(19.64, 43.37, -63.64)
CIE-LCHlch(19.64, 77.01, 304.28°)
OKLaboklab(32.62% 0.0027 -0.1842)
OKLCHoklch(32.62% 0.184 270.9)
XYZxyz(5.8110, 2.8992, 26.6335)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1890 #8D9018
analogous
#185190 #1B1890 #571890
triadic
#1B1890 #901B18 #18901B
tetradic
#1B1890 #901851 #8D9018 #189057
square
#1B1890 #901851 #8D9018 #189057
split-complementary
#1B1890 #905718 #519018
monochromatic
#070727 #110F5C #1B1890 #2521C4 #4743E0

Accessibility & contrast

On white

13.29
#1B1890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#1B1890 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1890
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1890#FFFFFF#000000##FFFFFF
##1B18901.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003593
Deuteranopia (green-blind)
#00298E
Tritanopia (blue-blind)
#003E55
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1b1890;
/* rgb */ color: rgb(27, 24, 144);
/* oklch */ color: oklch(32.6% 0.184 270.9);
Tailwind
colors: {
  custom: {
    50: '#6f58b2',
    500: '#1b1890',
    950: '#000000',
  },
}
SCSS
$custom: #1b1890;
$custom-light: #6f58b2;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1890",
  "rgb": {
    "r": 27,
    "g": 24,
    "b": 144
  },
  "hsl": {
    "h": 241.5,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.32617,
    "c": 0.18423,
    "h": 270.9
  },
  "luminance": 0.029
}

Semantic roles & 50–950 ramp

primary
#1B1890
secondary
#BDC043
accent
#EE3AEA
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1B1890

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

Preview Lab → · Contrast checker → · Palette generator →

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