#1B4082#1B4082

#1B4082 is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.5% C 0.119 H 260.9°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#1B4082
RGBrgb(27, 64, 130)
HSLhsl(218, 66%, 31%)
HSVhsv(218, 79%, 51%)
CMYKcmyk(79.2%, 50.8%, 0%, 49%)
CIE-LABlab(28.14, 12.22, -40.98)
CIE-LCHlch(28.14, 42.76, 286.61°)
OKLaboklab(38.46% -0.0188 -0.1178)
OKLCHoklch(38.46% 0.119 260.9)
XYZxyz(6.3132, 5.5108, 21.8457)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4082 #825D1B
analogous
#1B7382 #1B4082 #2A1B82
triadic
#1B4082 #821B40 #40821B
tetradic
#1B4082 #821B73 #825D1B #1B822A
square
#1B4082 #821B73 #825D1B #1B822A
split-complementary
#1B4082 #822A1B #73821B
monochromatic
#060E1D #10274F #1B4082 #2659B5 #4076D7

Accessibility & contrast

On white

9.99
#1B4082 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#1B4082 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4082
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4082#FFFFFF#000000##FFFFFF
##1B40821.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194784
Deuteranopia (green-blind)
#003E81
Tritanopia (blue-blind)
#00505A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1b4082;
/* rgb */ color: rgb(27, 64, 130);
/* oklch */ color: oklch(38.5% 0.119 260.9);
Tailwind
colors: {
  custom: {
    50: '#6874a7',
    500: '#1b4082',
    950: '#000000',
  },
}
SCSS
$custom: #1b4082;
$custom-light: #6874a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4082",
  "rgb": {
    "r": 27,
    "g": 64,
    "b": 130
  },
  "hsl": {
    "h": 218.447,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.38456,
    "c": 0.11928,
    "h": 260.9
  },
  "luminance": 0.05512
}

Semantic roles & 50–950 ramp

primary
#1B4082
secondary
#B68C43
accent
#AC3FE9
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1B4082

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

Preview Lab → · Contrast checker → · Palette generator →

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