#1B4790#1B4790

#1B4790 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.1% C 0.130 H 260.1°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#1B4790
RGBrgb(27, 71, 144)
HSLhsl(217, 68%, 34%)
HSVhsv(217, 81%, 56%)
CMYKcmyk(81.3%, 50.7%, 0%, 43.5%)
CIE-LABlab(31.24, 13.09, -44.64)
CIE-LCHlch(31.24, 46.52, 286.35°)
OKLaboklab(41.15% -0.0225 -0.1284)
OKLCHoklch(41.15% 0.13 260.1)
XYZxyz(7.7374, 6.7522, 27.2757)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4790 #90641B
analogous
#1B8190 #1B4790 #291B90
triadic
#1B4790 #901B47 #47901B
tetradic
#1B4790 #901B81 #90641B #1B9029
square
#1B4790 #901B81 #90641B #1B9029
split-complementary
#1B4790 #90291B #81901B
monochromatic
#081429 #112E5C #1B4790 #2560C4 #4980DD

Accessibility & contrast

On white

8.93
#1B4790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#1B4790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4790
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4790#FFFFFF#000000##FFFFFF
##1B47901.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4F93
Deuteranopia (green-blind)
#00458F
Tritanopia (blue-blind)
#005964
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1b4790;
/* rgb */ color: rgb(27, 71, 144);
/* oklch */ color: oklch(41.1% 0.130 260.1);
Tailwind
colors: {
  custom: {
    50: '#6b79b1',
    500: '#1b4790',
    950: '#000000',
  },
}
SCSS
$custom: #1b4790;
$custom-light: #6b79b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4790",
  "rgb": {
    "r": 27,
    "g": 71,
    "b": 144
  },
  "hsl": {
    "h": 217.436,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41145,
    "c": 0.13037,
    "h": 260.1
  },
  "luminance": 0.06753
}

Semantic roles & 50–950 ramp

primary
#1B4790
secondary
#BF9248
accent
#AA3DEB
background
#F6F7FB
surface
#ECEDF6
border
#C7C8D0
text
#080911
muted
#7A7B80

Preview Lab

Preview with #1B4790

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

Preview Lab → · Contrast checker → · Palette generator →

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