#1B1990#1B1990

#1B1990 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.7% C 0.183 H 270.8°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#1B1990
RGBrgb(27, 25, 144)
HSLhsl(241, 70%, 33%)
HSVhsv(241, 83%, 56%)
CMYKcmyk(81.3%, 82.6%, 0%, 43.5%)
CIE-LABlab(19.81, 42.87, -63.35)
CIE-LCHlch(19.81, 76.50, 304.09°)
OKLaboklab(32.74% 0.0025 -0.1834)
OKLCHoklch(32.74% 0.183 270.8)
XYZxyz(5.8320, 2.9412, 26.6405)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1990 #8E9019
analogous
#195390 #1B1990 #561990
triadic
#1B1990 #901B19 #19901B
tetradic
#1B1990 #901953 #8E9019 #199056
square
#1B1990 #901953 #8E9019 #199056
split-complementary
#1B1990 #905619 #539019
monochromatic
#070728 #11105C #1B1990 #2522C4 #4745DF

Accessibility & contrast

On white

13.22
#1B1990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B1990
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1990#FFFFFF#000000##FFFFFF
##1B19901.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003693
Deuteranopia (green-blind)
#002A8E
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1b1990;
/* rgb */ color: rgb(27, 25, 144);
/* oklch */ color: oklch(32.7% 0.183 270.8);
Tailwind
colors: {
  custom: {
    50: '#6f59b2',
    500: '#1b1990',
    950: '#000000',
  },
}
SCSS
$custom: #1b1990;
$custom-light: #6f59b2;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1990",
  "rgb": {
    "r": 27,
    "g": 25,
    "b": 144
  },
  "hsl": {
    "h": 241.008,
    "s": 70.414,
    "l": 33.137
  },
  "oklch": {
    "l": 0.32736,
    "c": 0.18342,
    "h": 270.8
  },
  "luminance": 0.02942
}

Semantic roles & 50–950 ramp

primary
#1B1990
secondary
#BEC045
accent
#ED3BEA
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1B1990

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

Preview Lab → · Contrast checker → · Palette generator →

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