#1B4A82#1B4A82

#1B4A82 is a dark, moderate cyan. Relative luminance 0.067; OKLCH L 40.8% C 0.107 H 254.9°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#1B4A82
RGBrgb(27, 74, 130)
HSLhsl(213, 66%, 31%)
HSVhsv(213, 79%, 51%)
CMYKcmyk(79.2%, 43.1%, 0%, 49%)
CIE-LABlab(31.21, 5.37, -36.05)
CIE-LCHlch(31.21, 36.45, 278.47°)
OKLaboklab(40.83% -0.0278 -0.1031)
OKLCHoklch(40.83% 0.107 254.9)
XYZxyz(6.9285, 6.7415, 22.0508)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4A82 #82531B
analogous
#1B7D82 #1B4A82 #1F1B82
triadic
#1B4A82 #821B4A #4A821B
tetradic
#1B4A82 #821B7D #82531B #1B821F
square
#1B4A82 #821B7D #82531B #1B821F
split-complementary
#1B4A82 #821F1B #7D821B
monochromatic
#06101D #102D4F #1B4A82 #2667B5 #4085D7

Accessibility & contrast

On white

8.94
#1B4A82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#1B4A82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4A82
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4A82#FFFFFF#000000##FFFFFF
##1B4A821.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4F84
Deuteranopia (green-blind)
#1D4581
Tritanopia (blue-blind)
#00575F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1b4a82;
/* rgb */ color: rgb(27, 74, 130);
/* oklch */ color: oklch(40.8% 0.107 254.9);
Tailwind
colors: {
  custom: {
    50: '#687ca7',
    500: '#1b4a82',
    950: '#000000',
  },
}
SCSS
$custom: #1b4a82;
$custom-light: #687ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4a82",
  "rgb": {
    "r": 27,
    "g": 74,
    "b": 130
  },
  "hsl": {
    "h": 212.621,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40825,
    "c": 0.10677,
    "h": 254.9
  },
  "luminance": 0.06742
}

Semantic roles & 50–950 ramp

primary
#1B4A82
secondary
#B68143
accent
#9B3FE9
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1B4A82

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

Preview Lab → · Contrast checker → · Palette generator →

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