#1B4582#1B4582

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

Color values

HEX#1B4582
RGBrgb(27, 69, 130)
HSLhsl(216, 66%, 31%)
HSVhsv(216, 79%, 51%)
CMYKcmyk(79.2%, 46.9%, 0%, 49%)
CIE-LABlab(29.66, 8.77, -38.53)
CIE-LCHlch(29.66, 39.51, 282.82°)
OKLaboklab(39.63% -0.0232 -0.1105)
OKLCHoklch(39.63% 0.113 258.1)
XYZxyz(6.6079, 6.1002, 21.9440)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4582 #82581B
analogous
#1B7882 #1B4582 #241B82
triadic
#1B4582 #821B45 #45821B
tetradic
#1B4582 #821B78 #82581B #1B8224
square
#1B4582 #821B78 #82581B #1B8224
split-complementary
#1B4582 #82241B #78821B
monochromatic
#060F1D #102A4F #1B4582 #2660B5 #407ED7

Accessibility & contrast

On white

9.46
#1B4582 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B4582
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4582#FFFFFF#000000##FFFFFF
##1B45821.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254B84
Deuteranopia (green-blind)
#0E4281
Tritanopia (blue-blind)
#00535D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1b4582;
/* rgb */ color: rgb(27, 69, 130);
/* oklch */ color: oklch(39.6% 0.113 258.1);
Tailwind
colors: {
  custom: {
    50: '#6878a7',
    500: '#1b4582',
    950: '#000000',
  },
}
SCSS
$custom: #1b4582;
$custom-light: #6878a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4582",
  "rgb": {
    "r": 27,
    "g": 69,
    "b": 130
  },
  "hsl": {
    "h": 215.534,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39626,
    "c": 0.1129,
    "h": 258.1
  },
  "luminance": 0.06101
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B4582

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

Preview Lab → · Contrast checker → · Palette generator →

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