#1B2890#1B2890

#1B2890 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.9% C 0.169 H 269.1°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#1B2890
RGBrgb(27, 40, 144)
HSLhsl(233, 68%, 34%)
HSVhsv(233, 81%, 56%)
CMYKcmyk(81.3%, 72.2%, 0%, 43.5%)
CIE-LABlab(22.87, 34.18, -58.28)
CIE-LCHlch(22.87, 67.56, 300.39°)
OKLaboklab(34.91% -0.0027 -0.1688)
OKLCHoklch(34.91% 0.169 269.1)
XYZxyz(6.2431, 3.7635, 26.7775)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2890 #90831B
analogous
#1B6290 #1B2890 #481B90
triadic
#1B2890 #901B28 #28901B
tetradic
#1B2890 #901B62 #90831B #1B9048
square
#1B2890 #901B62 #90831B #1B9048
split-complementary
#1B2890 #90481B #62901B
monochromatic
#080B29 #111A5C #1B2890 #2536C4 #4959DD

Accessibility & contrast

On white

11.98
#1B2890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#1B2890 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2890
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2890#FFFFFF#000000##FFFFFF
##1B28901.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C93
Deuteranopia (green-blind)
#00318E
Tritanopia (blue-blind)
#004559
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1b2890;
/* rgb */ color: rgb(27, 40, 144);
/* oklch */ color: oklch(34.9% 0.169 269.1);
Tailwind
colors: {
  custom: {
    50: '#6e62b2',
    500: '#1b2890',
    950: '#000000',
  },
}
SCSS
$custom: #1b2890;
$custom-light: #6e62b2;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2890",
  "rgb": {
    "r": 27,
    "g": 40,
    "b": 144
  },
  "hsl": {
    "h": 233.333,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.34909,
    "c": 0.16884,
    "h": 269.1
  },
  "luminance": 0.03764
}

Semantic roles & 50–950 ramp

primary
#1B2890
secondary
#BFB148
accent
#D83DEB
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#080511
muted
#7B7980

Preview Lab

Preview with #1B2890

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

Preview Lab → · Contrast checker → · Palette generator →

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