#1B4090#1B4090

#1B4090 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.6% C 0.139 H 263.0°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#1B4090
RGBrgb(27, 64, 144)
HSLhsl(221, 68%, 34%)
HSVhsv(221, 81%, 56%)
CMYKcmyk(81.3%, 55.6%, 0%, 43.5%)
CIE-LABlab(29.19, 17.92, -47.95)
CIE-LCHlch(29.19, 51.18, 290.49°)
OKLaboklab(39.59% -0.0171 -0.1383)
OKLCHoklch(39.59% 0.139 263)
XYZxyz(7.3176, 5.9126, 27.1357)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4090 #906B1B
analogous
#1B7A90 #1B4090 #311B90
triadic
#1B4090 #901B40 #40901B
tetradic
#1B4090 #901B7A #906B1B #1B9031
square
#1B4090 #901B7A #906B1B #1B9031
split-complementary
#1B4090 #90311B #7A901B
monochromatic
#081229 #11295C #1B4090 #2557C4 #4977DD

Accessibility & contrast

On white

9.62
#1B4090 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#1B4090 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4090
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4090#FFFFFF#000000##FFFFFF
##1B40901.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A93
Deuteranopia (green-blind)
#00408E
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1b4090;
/* rgb */ color: rgb(27, 64, 144);
/* oklch */ color: oklch(39.6% 0.139 263.0);
Tailwind
colors: {
  custom: {
    50: '#6c74b1',
    500: '#1b4090',
    950: '#000000',
  },
}
SCSS
$custom: #1b4090;
$custom-light: #6c74b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4090",
  "rgb": {
    "r": 27,
    "g": 64,
    "b": 144
  },
  "hsl": {
    "h": 221.026,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.39587,
    "c": 0.13934,
    "h": 263
  },
  "luminance": 0.05913
}

Semantic roles & 50–950 ramp

primary
#1B4090
secondary
#BF9948
accent
#B43DEB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1B4090

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

Preview Lab → · Contrast checker → · Palette generator →

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