#1B4382#1B4382

#1B4382 is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.2% C 0.115 H 259.3°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#1B4382
RGBrgb(27, 67, 130)
HSLhsl(217, 66%, 31%)
HSVhsv(217, 79%, 51%)
CMYKcmyk(79.2%, 48.5%, 0%, 49%)
CIE-LABlab(29.05, 10.14, -39.51)
CIE-LCHlch(29.05, 40.79, 284.40°)
OKLaboklab(39.15% -0.0214 -0.1134)
OKLCHoklch(39.15% 0.115 259.3)
XYZxyz(6.4869, 5.8583, 21.9036)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4382 #825A1B
analogous
#1B7682 #1B4382 #261B82
triadic
#1B4382 #821B43 #43821B
tetradic
#1B4382 #821B76 #825A1B #1B8226
square
#1B4382 #821B76 #825A1B #1B8226
split-complementary
#1B4382 #82261B #76821B
monochromatic
#060F1D #10294F #1B4382 #265DB5 #407BD7

Accessibility & contrast

On white

9.67
#1B4382 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#1B4382 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4382
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4382#FFFFFF#000000##FFFFFF
##1B43821.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214984
Deuteranopia (green-blind)
#054081
Tritanopia (blue-blind)
#00525C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1b4382;
/* rgb */ color: rgb(27, 67, 130);
/* oklch */ color: oklch(39.2% 0.115 259.3);
Tailwind
colors: {
  custom: {
    50: '#6876a7',
    500: '#1b4382',
    950: '#000000',
  },
}
SCSS
$custom: #1b4382;
$custom-light: #6876a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4382",
  "rgb": {
    "r": 27,
    "g": 67,
    "b": 130
  },
  "hsl": {
    "h": 216.699,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39154,
    "c": 0.11542,
    "h": 259.3
  },
  "luminance": 0.05859
}

Semantic roles & 50–950 ramp

primary
#1B4382
secondary
#B68943
accent
#A73FE9
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1B4382

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

Preview Lab → · Contrast checker → · Palette generator →

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