#1B4282#1B4282

#1B4282 is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.9% C 0.117 H 259.9°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#1B4282
RGBrgb(27, 66, 130)
HSLhsl(217, 66%, 31%)
HSVhsv(217, 79%, 51%)
CMYKcmyk(79.2%, 49.2%, 0%, 49%)
CIE-LABlab(28.75, 10.83, -40.00)
CIE-LCHlch(28.75, 41.44, 285.15°)
OKLaboklab(38.92% -0.0205 -0.1149)
OKLCHoklch(38.92% 0.117 259.9)
XYZxyz(6.4280, 5.7404, 21.8840)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4282 #825B1B
analogous
#1B7582 #1B4282 #281B82
triadic
#1B4282 #821B42 #42821B
tetradic
#1B4282 #821B75 #825B1B #1B8228
square
#1B4282 #821B75 #825B1B #1B8228
split-complementary
#1B4282 #82281B #75821B
monochromatic
#060F1D #10284F #1B4282 #265CB5 #4079D7

Accessibility & contrast

On white

9.78
#1B4282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#1B4282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4282
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4282#FFFFFF#000000##FFFFFF
##1B42821.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4984
Deuteranopia (green-blind)
#003F81
Tritanopia (blue-blind)
#00515B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1b4282;
/* rgb */ color: rgb(27, 66, 130);
/* oklch */ color: oklch(38.9% 0.117 259.9);
Tailwind
colors: {
  custom: {
    50: '#6875a7',
    500: '#1b4282',
    950: '#000000',
  },
}
SCSS
$custom: #1b4282;
$custom-light: #6875a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4282",
  "rgb": {
    "r": 27,
    "g": 66,
    "b": 130
  },
  "hsl": {
    "h": 217.282,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.3892,
    "c": 0.1167,
    "h": 259.9
  },
  "luminance": 0.05741
}

Semantic roles & 50–950 ramp

primary
#1B4282
secondary
#B68A43
accent
#A83FE9
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1B4282

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

Preview Lab → · Contrast checker → · Palette generator →

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