#1B4882#1B4882

#1B4882 is a dark, moderate cyan. Relative luminance 0.065; OKLCH L 40.3% C 0.109 H 256.3°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#1B4882
RGBrgb(27, 72, 130)
HSLhsl(214, 66%, 31%)
HSVhsv(214, 79%, 51%)
CMYKcmyk(79.2%, 44.6%, 0%, 49%)
CIE-LABlab(30.59, 6.72, -37.05)
CIE-LCHlch(30.59, 37.65, 280.28°)
OKLaboklab(40.34% -0.0259 -0.1061)
OKLCHoklch(40.34% 0.109 256.3)
XYZxyz(6.7971, 6.4787, 22.0070)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4882 #82551B
analogous
#1B7B82 #1B4882 #211B82
triadic
#1B4882 #821B48 #48821B
tetradic
#1B4882 #821B7B #82551B #1B8221
square
#1B4882 #821B7B #82551B #1B8221
split-complementary
#1B4882 #82211B #7B821B
monochromatic
#06101D #102C4F #1B4882 #2664B5 #4082D7

Accessibility & contrast

On white

9.15
#1B4882 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#1B4882 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4882
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4882#FFFFFF#000000##FFFFFF
##1B48821.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4D84
Deuteranopia (green-blind)
#184481
Tritanopia (blue-blind)
#00565E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1b4882;
/* rgb */ color: rgb(27, 72, 130);
/* oklch */ color: oklch(40.3% 0.109 256.3);
Tailwind
colors: {
  custom: {
    50: '#687aa7',
    500: '#1b4882',
    950: '#000000',
  },
}
SCSS
$custom: #1b4882;
$custom-light: #687aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4882",
  "rgb": {
    "r": 27,
    "g": 72,
    "b": 130
  },
  "hsl": {
    "h": 213.786,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40342,
    "c": 0.10918,
    "h": 256.3
  },
  "luminance": 0.06479
}

Semantic roles & 50–950 ramp

primary
#1B4882
secondary
#B68443
accent
#9F3FE9
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1B4882

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

Preview Lab → · Contrast checker → · Palette generator →

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