#1B4580#1B4580

#1B4580 is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.5% C 0.110 H 257.6°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#1B4580
RGBrgb(27, 69, 128)
HSLhsl(215, 65%, 30%)
HSVhsv(215, 79%, 50%)
CMYKcmyk(78.9%, 46.1%, 0%, 49.8%)
CIE-LABlab(29.53, 7.95, -37.50)
CIE-LCHlch(29.53, 38.33, 281.98°)
OKLaboklab(39.48% -0.0236 -0.1074)
OKLCHoklch(39.48% 0.11 257.6)
XYZxyz(6.4750, 6.0470, 21.2438)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4580 #80561B
analogous
#1B7780 #1B4580 #241B80
triadic
#1B4580 #801B45 #45801B
tetradic
#1B4580 #801B77 #80561B #1B8024
square
#1B4580 #801B77 #80561B #1B8024
split-complementary
#1B4580 #80241B #77801B
monochromatic
#060F1B #102A4D #1B4580 #2660B3 #3F7ED6

Accessibility & contrast

On white

9.50
#1B4580 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B4580
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4580#FFFFFF#000000##FFFFFF
##1B45801.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274B82
Deuteranopia (green-blind)
#12417F
Tritanopia (blue-blind)
#00535C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1b4580;
/* rgb */ color: rgb(27, 69, 128);
/* oklch */ color: oklch(39.5% 0.110 257.6);
Tailwind
colors: {
  custom: {
    50: '#6778a5',
    500: '#1b4580',
    950: '#000000',
  },
}
SCSS
$custom: #1b4580;
$custom-light: #6778a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4580",
  "rgb": {
    "r": 27,
    "g": 69,
    "b": 128
  },
  "hsl": {
    "h": 215.05,
    "s": 65.161,
    "l": 30.392
  },
  "oklch": {
    "l": 0.3948,
    "c": 0.11001,
    "h": 257.6
  },
  "luminance": 0.06048
}

Semantic roles & 50–950 ramp

primary
#1B4580
secondary
#B48543
accent
#A240E8
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1B4580

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

Preview Lab → · Contrast checker → · Palette generator →

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