#1B4584#1B4584

#1B4584 is a dark, moderate blue. Relative luminance 0.062; OKLCH L 39.8% C 0.116 H 258.6°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#1B4584
RGBrgb(27, 69, 132)
HSLhsl(216, 66%, 31%)
HSVhsv(216, 80%, 52%)
CMYKcmyk(79.5%, 47.7%, 0%, 48.2%)
CIE-LABlab(29.80, 9.58, -39.55)
CIE-LCHlch(29.80, 40.70, 283.62°)
OKLaboklab(39.77% -0.0228 -0.1135)
OKLCHoklch(39.77% 0.116 258.6)
XYZxyz(6.7435, 6.1544, 22.6578)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4584 #845A1B
analogous
#1B7984 #1B4584 #251B84
triadic
#1B4584 #841B45 #45841B
tetradic
#1B4584 #841B79 #845A1B #1B8425
square
#1B4584 #841B79 #845A1B #1B8425
split-complementary
#1B4584 #84251B #79841B
monochromatic
#06101E #112A51 #1B4584 #2560B7 #417ED8

Accessibility & contrast

On white

9.41
#1B4584 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#1B4584 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4584
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4584#FFFFFF#000000##FFFFFF
##1B45841.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234B86
Deuteranopia (green-blind)
#094283
Tritanopia (blue-blind)
#00545E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1b4584;
/* rgb */ color: rgb(27, 69, 132);
/* oklch */ color: oklch(39.8% 0.116 258.6);
Tailwind
colors: {
  custom: {
    50: '#6878a8',
    500: '#1b4584',
    950: '#000000',
  },
}
SCSS
$custom: #1b4584;
$custom-light: #6878a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4584",
  "rgb": {
    "r": 27,
    "g": 69,
    "b": 132
  },
  "hsl": {
    "h": 216,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39773,
    "c": 0.11577,
    "h": 258.6
  },
  "luminance": 0.06155
}

Semantic roles & 50–950 ramp

primary
#1B4584
secondary
#B78943
accent
#A53FE9
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1B4584

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

Preview Lab → · Contrast checker → · Palette generator →

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