#1B4D86#1B4D86

#1B4D86 is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 41.8% C 0.109 H 254.2°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#1B4D86
RGBrgb(27, 77, 134)
HSLhsl(212, 66%, 32%)
HSVhsv(212, 80%, 53%)
CMYKcmyk(79.9%, 42.5%, 0%, 47.5%)
CIE-LABlab(32.39, 4.98, -36.63)
CIE-LCHlch(32.39, 36.97, 277.74°)
OKLaboklab(41.83% -0.0296 -0.1047)
OKLCHoklch(41.83% 0.109 254.2)
XYZxyz(7.4073, 7.2611, 23.5608)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4D86 #86541B
analogous
#1B8386 #1B4D86 #1F1B86
triadic
#1B4D86 #861B4D #4D861B
tetradic
#1B4D86 #861B83 #86541B #1B861F
square
#1B4D86 #861B83 #86541B #1B861F
split-complementary
#1B4D86 #861F1B #83861B
monochromatic
#061220 #113053 #1B4D86 #256AB9 #4289D9

Accessibility & contrast

On white

8.56
#1B4D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#1B4D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4D86
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4D86#FFFFFF#000000##FFFFFF
##1B4D861.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315188
Deuteranopia (green-blind)
#1F4885
Tritanopia (blue-blind)
#005A63
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1b4d86;
/* rgb */ color: rgb(27, 77, 134);
/* oklch */ color: oklch(41.8% 0.109 254.2);
Tailwind
colors: {
  custom: {
    50: '#697ea9',
    500: '#1b4d86',
    950: '#000000',
  },
}
SCSS
$custom: #1b4d86;
$custom-light: #697ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4d86",
  "rgb": {
    "r": 27,
    "g": 77,
    "b": 134
  },
  "hsl": {
    "h": 211.963,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41826,
    "c": 0.10885,
    "h": 254.2
  },
  "luminance": 0.07262
}

Semantic roles & 50–950 ramp

primary
#1B4D86
secondary
#B98244
accent
#993EE9
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1B4D86

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

Preview Lab → · Contrast checker → · Palette generator →

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