#1B4487#1B4487

#1B4487 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 39.8% C 0.121 H 259.8°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#1B4487
RGBrgb(27, 68, 135)
HSLhsl(217, 67%, 32%)
HSVhsv(217, 80%, 53%)
CMYKcmyk(80%, 49.6%, 0%, 47.1%)
CIE-LABlab(29.70, 11.49, -41.57)
CIE-LCHlch(29.70, 43.13, 285.46°)
OKLaboklab(39.77% -0.0214 -0.1194)
OKLCHoklch(39.77% 0.121 259.8)
XYZxyz(6.8907, 6.1157, 23.7343)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4487 #875E1B
analogous
#1B7A87 #1B4487 #281B87
triadic
#1B4487 #871B44 #44871B
tetradic
#1B4487 #871B7A #875E1B #1B8728
square
#1B4487 #871B7A #875E1B #1B8728
split-complementary
#1B4487 #87281B #7A871B
monochromatic
#071121 #112A54 #1B4487 #255EBA #437CD9

Accessibility & contrast

On white

9.44
#1B4487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#1B4487 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4487
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4487#FFFFFF#000000##FFFFFF
##1B44871.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4B89
Deuteranopia (green-blind)
#004186
Tritanopia (blue-blind)
#00545F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1b4487;
/* rgb */ color: rgb(27, 68, 135);
/* oklch */ color: oklch(39.8% 0.121 259.8);
Tailwind
colors: {
  custom: {
    50: '#6977aa',
    500: '#1b4487',
    950: '#000000',
  },
}
SCSS
$custom: #1b4487;
$custom-light: #6977aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4487",
  "rgb": {
    "r": 27,
    "g": 68,
    "b": 135
  },
  "hsl": {
    "h": 217.222,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.39766,
    "c": 0.12136,
    "h": 259.8
  },
  "luminance": 0.06117
}

Semantic roles & 50–950 ramp

primary
#1B4487
secondary
#BA8D44
accent
#A93EEA
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1B4487

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

Preview Lab → · Contrast checker → · Palette generator →

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