#1B4583#1B4583

#1B4583 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.7% C 0.114 H 258.4°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#1B4583
RGBrgb(27, 69, 131)
HSLhsl(216, 66%, 31%)
HSVhsv(216, 79%, 51%)
CMYKcmyk(79.4%, 47.3%, 0%, 48.6%)
CIE-LABlab(29.73, 9.18, -39.04)
CIE-LCHlch(29.73, 40.11, 283.23°)
OKLaboklab(39.7% -0.023 -0.112)
OKLCHoklch(39.7% 0.114 258.4)
XYZxyz(6.6754, 6.1272, 22.2992)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4583 #83591B
analogous
#1B7983 #1B4583 #251B83
triadic
#1B4583 #831B45 #45831B
tetradic
#1B4583 #831B79 #83591B #1B8325
square
#1B4583 #831B79 #83591B #1B8325
split-complementary
#1B4583 #83251B #79831B
monochromatic
#06101E #112A50 #1B4583 #2560B6 #417ED8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B4583#FFFFFF#000000##FFFFFF
##1B45831.009.442.239.44
#FFFFFF9.441.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244B85
Deuteranopia (green-blind)
#0B4282
Tritanopia (blue-blind)
#00545D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1b4583;
/* rgb */ color: rgb(27, 69, 131);
/* oklch */ color: oklch(39.7% 0.114 258.4);
Tailwind
colors: {
  custom: {
    50: '#6878a7',
    500: '#1b4583',
    950: '#000000',
  },
}
SCSS
$custom: #1b4583;
$custom-light: #6878a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4583",
  "rgb": {
    "r": 27,
    "g": 69,
    "b": 131
  },
  "hsl": {
    "h": 215.769,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39699,
    "c": 0.11434,
    "h": 258.4
  },
  "luminance": 0.06128
}

Semantic roles & 50–950 ramp

primary
#1B4583
secondary
#B68843
accent
#A43FE9
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1B4583

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

Preview Lab → · Contrast checker → · Palette generator →

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