#1B4782#1B4782

#1B4782 is a dark, moderate cyan. Relative luminance 0.064; OKLCH L 40.1% C 0.110 H 256.9°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#1B4782
RGBrgb(27, 71, 130)
HSLhsl(214, 66%, 31%)
HSVhsv(214, 79%, 51%)
CMYKcmyk(79.2%, 45.4%, 0%, 49%)
CIE-LABlab(30.28, 7.40, -37.54)
CIE-LCHlch(30.28, 38.26, 281.15°)
OKLaboklab(40.1% -0.025 -0.1075)
OKLCHoklch(40.1% 0.11 256.9)
XYZxyz(6.7330, 6.3504, 21.9857)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4782 #82561B
analogous
#1B7A82 #1B4782 #221B82
triadic
#1B4782 #821B47 #47821B
tetradic
#1B4782 #821B7A #82561B #1B8222
square
#1B4782 #821B7A #82561B #1B8222
split-complementary
#1B4782 #82221B #7A821B
monochromatic
#06101D #102B4F #1B4782 #2663B5 #4081D7

Accessibility & contrast

On white

9.25
#1B4782 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#1B4782 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4782
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4782#FFFFFF#000000##FFFFFF
##1B47821.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294C84
Deuteranopia (green-blind)
#154381
Tritanopia (blue-blind)
#00555E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1b4782;
/* rgb */ color: rgb(27, 71, 130);
/* oklch */ color: oklch(40.1% 0.110 256.9);
Tailwind
colors: {
  custom: {
    50: '#6879a7',
    500: '#1b4782',
    950: '#000000',
  },
}
SCSS
$custom: #1b4782;
$custom-light: #6879a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4782",
  "rgb": {
    "r": 27,
    "g": 71,
    "b": 130
  },
  "hsl": {
    "h": 214.369,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40102,
    "c": 0.11041,
    "h": 256.9
  },
  "luminance": 0.06351
}

Semantic roles & 50–950 ramp

primary
#1B4782
secondary
#B68543
accent
#A03FE9
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1B4782

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

Preview Lab → · Contrast checker → · Palette generator →

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