#1B4485#1B4485

#1B4485 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.6% C 0.118 H 259.4°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#1B4485
RGBrgb(27, 68, 133)
HSLhsl(217, 66%, 31%)
HSVhsv(217, 80%, 52%)
CMYKcmyk(79.7%, 48.9%, 0%, 47.8%)
CIE-LABlab(29.56, 10.68, -40.55)
CIE-LCHlch(29.56, 41.94, 284.75°)
OKLaboklab(39.61% -0.0218 -0.1165)
OKLCHoklch(39.61% 0.118 259.4)
XYZxyz(6.7512, 6.0599, 22.9996)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4485 #855C1B
analogous
#1B7985 #1B4485 #271B85
triadic
#1B4485 #851B44 #44851B
tetradic
#1B4485 #851B79 #855C1B #1B8527
square
#1B4485 #851B79 #855C1B #1B8527
split-complementary
#1B4485 #85271B #79851B
monochromatic
#06101F #112A52 #1B4485 #255EB8 #427CD9

Accessibility & contrast

On white

9.49
#1B4485 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B4485
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4485#FFFFFF#000000##FFFFFF
##1B44851.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204B87
Deuteranopia (green-blind)
#014184
Tritanopia (blue-blind)
#00535E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1b4485;
/* rgb */ color: rgb(27, 68, 133);
/* oklch */ color: oklch(39.6% 0.118 259.4);
Tailwind
colors: {
  custom: {
    50: '#6977a9',
    500: '#1b4485',
    950: '#000000',
  },
}
SCSS
$custom: #1b4485;
$custom-light: #6977a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4485",
  "rgb": {
    "r": 27,
    "g": 68,
    "b": 133
  },
  "hsl": {
    "h": 216.792,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.39614,
    "c": 0.11848,
    "h": 259.4
  },
  "luminance": 0.06061
}

Semantic roles & 50–950 ramp

primary
#1B4485
secondary
#B88B44
accent
#A73FE9
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1B4485

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

Preview Lab → · Contrast checker → · Palette generator →

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