#1B4190#1B4190

#1B4190 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.8% C 0.138 H 262.6°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#1B4190
RGBrgb(27, 65, 144)
HSLhsl(221, 68%, 34%)
HSVhsv(221, 81%, 56%)
CMYKcmyk(81.3%, 54.9%, 0%, 43.5%)
CIE-LABlab(29.48, 17.23, -47.48)
CIE-LCHlch(29.48, 50.51, 289.94°)
OKLaboklab(39.81% -0.0178 -0.1369)
OKLCHoklch(39.81% 0.138 262.6)
XYZxyz(7.3745, 6.0264, 27.1547)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4190 #906A1B
analogous
#1B7B90 #1B4190 #2F1B90
triadic
#1B4190 #901B41 #41901B
tetradic
#1B4190 #901B7B #906A1B #1B902F
square
#1B4190 #901B7B #906A1B #1B902F
split-complementary
#1B4190 #902F1B #7B901B
monochromatic
#081229 #112A5C #1B4190 #2558C4 #4979DD

Accessibility & contrast

On white

9.52
#1B4190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#1B4190 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4190
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4190#FFFFFF#000000##FFFFFF
##1B41901.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014B93
Deuteranopia (green-blind)
#00408E
Tritanopia (blue-blind)
#005462
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1b4190;
/* rgb */ color: rgb(27, 65, 144);
/* oklch */ color: oklch(39.8% 0.138 262.6);
Tailwind
colors: {
  custom: {
    50: '#6c75b1',
    500: '#1b4190',
    950: '#000000',
  },
}
SCSS
$custom: #1b4190;
$custom-light: #6c75b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4190",
  "rgb": {
    "r": 27,
    "g": 65,
    "b": 144
  },
  "hsl": {
    "h": 220.513,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.39805,
    "c": 0.13806,
    "h": 262.6
  },
  "luminance": 0.06027
}

Semantic roles & 50–950 ramp

primary
#1B4190
secondary
#BF9848
accent
#B33DEB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1B4190

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

Preview Lab → · Contrast checker → · Palette generator →

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