#1B2190#1B2190

#1B2190 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.8% C 0.176 H 270.0°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#1B2190
RGBrgb(27, 33, 144)
HSLhsl(237, 68%, 34%)
HSVhsv(237, 81%, 56%)
CMYKcmyk(81.3%, 77.1%, 0%, 43.5%)
CIE-LABlab(21.33, 38.48, -60.82)
CIE-LCHlch(21.33, 71.97, 302.32°)
OKLaboklab(33.81% 0.0001 -0.1762)
OKLCHoklch(33.81% 0.176 270)
XYZxyz(6.0282, 3.3337, 26.7059)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2190 #908A1B
analogous
#1B5B90 #1B2190 #4F1B90
triadic
#1B2190 #901B21 #21901B
tetradic
#1B2190 #901B5B #908A1B #1B904F
square
#1B2190 #901B5B #908A1B #1B904F
split-complementary
#1B2190 #904F1B #5B901B
monochromatic
#080929 #11155C #1B2190 #252DC4 #4950DD

Accessibility & contrast

On white

12.60
#1B2190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#1B2190 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2190
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2190#FFFFFF#000000##FFFFFF
##1B21901.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003993
Deuteranopia (green-blind)
#002D8E
Tritanopia (blue-blind)
#004257
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1b2190;
/* rgb */ color: rgb(27, 33, 144);
/* oklch */ color: oklch(33.8% 0.176 270.0);
Tailwind
colors: {
  custom: {
    50: '#6e5eb2',
    500: '#1b2190',
    950: '#000000',
  },
}
SCSS
$custom: #1b2190;
$custom-light: #6e5eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2190",
  "rgb": {
    "r": 27,
    "g": 33,
    "b": 144
  },
  "hsl": {
    "h": 236.923,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.33808,
    "c": 0.17618,
    "h": 270
  },
  "luminance": 0.03334
}

Semantic roles & 50–950 ramp

primary
#1B2190
secondary
#BFB948
accent
#E23DEB
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1B2190

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

Preview Lab → · Contrast checker → · Palette generator →

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