#1B4682#1B4682

#1B4682 is a dark, moderate cyan. Relative luminance 0.062; OKLCH L 39.9% C 0.112 H 257.5°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#1B4682
RGBrgb(27, 70, 130)
HSLhsl(215, 66%, 31%)
HSVhsv(215, 79%, 51%)
CMYKcmyk(79.2%, 46.2%, 0%, 49%)
CIE-LABlab(29.97, 8.08, -38.04)
CIE-LCHlch(29.97, 38.88, 282.00°)
OKLaboklab(39.86% -0.0241 -0.109)
OKLCHoklch(39.86% 0.112 257.5)
XYZxyz(6.6699, 6.2243, 21.9646)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4682 #82571B
analogous
#1B7982 #1B4682 #231B82
triadic
#1B4682 #821B46 #46821B
tetradic
#1B4682 #821B79 #82571B #1B8223
square
#1B4682 #821B79 #82571B #1B8223
split-complementary
#1B4682 #82231B #79821B
monochromatic
#060F1D #102B4F #1B4682 #2661B5 #407FD7

Accessibility & contrast

On white

9.35
#1B4682 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#1B4682 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4682
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4682#FFFFFF#000000##FFFFFF
##1B46821.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274C84
Deuteranopia (green-blind)
#124281
Tritanopia (blue-blind)
#00545D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1b4682;
/* rgb */ color: rgb(27, 70, 130);
/* oklch */ color: oklch(39.9% 0.112 257.5);
Tailwind
colors: {
  custom: {
    50: '#6878a7',
    500: '#1b4682',
    950: '#000000',
  },
}
SCSS
$custom: #1b4682;
$custom-light: #6878a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4682",
  "rgb": {
    "r": 27,
    "g": 70,
    "b": 130
  },
  "hsl": {
    "h": 214.951,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39863,
    "c": 0.11164,
    "h": 257.5
  },
  "luminance": 0.06225
}

Semantic roles & 50–950 ramp

primary
#1B4682
secondary
#B68643
accent
#A23FE9
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1B4682

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

Preview Lab → · Contrast checker → · Palette generator →

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