#1B4590#1B4590

#1B4590 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.7% C 0.133 H 260.9°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#1B4590
RGBrgb(27, 69, 144)
HSLhsl(218, 68%, 34%)
HSVhsv(218, 81%, 56%)
CMYKcmyk(81.3%, 52.1%, 0%, 43.5%)
CIE-LABlab(30.65, 14.47, -45.59)
CIE-LCHlch(30.65, 47.83, 287.61°)
OKLaboklab(40.69% -0.0209 -0.1313)
OKLCHoklch(40.69% 0.133 260.9)
XYZxyz(7.6123, 6.5020, 27.2340)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4590 #90661B
analogous
#1B7F90 #1B4590 #2C1B90
triadic
#1B4590 #901B45 #45901B
tetradic
#1B4590 #901B7F #90661B #1B902C
square
#1B4590 #901B7F #90661B #1B902C
split-complementary
#1B4590 #902C1B #7F901B
monochromatic
#081429 #112C5C #1B4590 #255EC4 #497EDD

Accessibility & contrast

On white

9.13
#1B4590 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#1B4590 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4590
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4590#FFFFFF#000000##FFFFFF
##1B45901.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144E93
Deuteranopia (green-blind)
#00438F
Tritanopia (blue-blind)
#005763
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1b4590;
/* rgb */ color: rgb(27, 69, 144);
/* oklch */ color: oklch(40.7% 0.133 260.9);
Tailwind
colors: {
  custom: {
    50: '#6b78b1',
    500: '#1b4590',
    950: '#000000',
  },
}
SCSS
$custom: #1b4590;
$custom-light: #6b78b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4590",
  "rgb": {
    "r": 27,
    "g": 69,
    "b": 144
  },
  "hsl": {
    "h": 218.462,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.40693,
    "c": 0.13292,
    "h": 260.9
  },
  "luminance": 0.06503
}

Semantic roles & 50–950 ramp

primary
#1B4590
secondary
#BF9448
accent
#AD3DEB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1B4590

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

Preview Lab → · Contrast checker → · Palette generator →

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