#1B4982#1B4982

#1B4982 is a dark, moderate cyan. Relative luminance 0.066; OKLCH L 40.6% C 0.108 H 255.6°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#1B4982
RGBrgb(27, 73, 130)
HSLhsl(213, 66%, 31%)
HSVhsv(213, 79%, 51%)
CMYKcmyk(79.2%, 43.8%, 0%, 49%)
CIE-LABlab(30.90, 6.05, -36.55)
CIE-LCHlch(30.90, 37.05, 279.39°)
OKLaboklab(40.58% -0.0268 -0.1046)
OKLCHoklch(40.58% 0.108 255.6)
XYZxyz(6.8623, 6.6090, 22.0288)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4982 #82541B
analogous
#1B7C82 #1B4982 #201B82
triadic
#1B4982 #821B49 #49821B
tetradic
#1B4982 #821B7C #82541B #1B8220
square
#1B4982 #821B7C #82541B #1B8220
split-complementary
#1B4982 #82201B #7C821B
monochromatic
#06101D #102D4F #1B4982 #2665B5 #4084D7

Accessibility & contrast

On white

9.04
#1B4982 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#1B4982 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4982
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4982#FFFFFF#000000##FFFFFF
##1B49821.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4E84
Deuteranopia (green-blind)
#1A4481
Tritanopia (blue-blind)
#00565F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1b4982;
/* rgb */ color: rgb(27, 73, 130);
/* oklch */ color: oklch(40.6% 0.108 255.6);
Tailwind
colors: {
  custom: {
    50: '#687ba7',
    500: '#1b4982',
    950: '#000000',
  },
}
SCSS
$custom: #1b4982;
$custom-light: #687ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4982",
  "rgb": {
    "r": 27,
    "g": 73,
    "b": 130
  },
  "hsl": {
    "h": 213.204,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40583,
    "c": 0.10797,
    "h": 255.6
  },
  "luminance": 0.0661
}

Semantic roles & 50–950 ramp

primary
#1B4982
secondary
#B68343
accent
#9D3FE9
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1B4982

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

Preview Lab → · Contrast checker → · Palette generator →

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