#1B4877#1B4877

#1B4877 is a dark, moderate cyan. Relative luminance 0.062; OKLCH L 39.6% C 0.094 H 252.2°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#1B4877
RGBrgb(27, 72, 119)
HSLhsl(211, 63%, 29%)
HSVhsv(211, 77%, 47%)
CMYKcmyk(77.3%, 39.5%, 0%, 53.3%)
CIE-LABlab(29.91, 2.28, -31.27)
CIE-LCHlch(29.91, 31.35, 274.17°)
OKLaboklab(39.59% -0.0286 -0.0891)
OKLCHoklch(39.59% 0.094 252.2)
XYZxyz(6.0979, 6.1990, 18.3243)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4877 #774A1B
analogous
#1B7677 #1B4877 #1C1B77
triadic
#1B4877 #771B48 #48771B
tetradic
#1B4877 #771B76 #774A1B #1B771C
square
#1B4877 #771B76 #774A1B #1B771C
split-complementary
#1B4877 #771C1B #76771B
monochromatic
#060F19 #102A45 #1B4877 #2666A9 #3A85D2

Accessibility & contrast

On white

9.38
#1B4877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#1B4877 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4877
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4877#FFFFFF#000000##FFFFFF
##1B48771.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324B79
Deuteranopia (green-blind)
#244376
Tritanopia (blue-blind)
#005359
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1b4877;
/* rgb */ color: rgb(27, 72, 119);
/* oklch */ color: oklch(39.6% 0.094 252.2);
Tailwind
colors: {
  custom: {
    50: '#657a9e',
    500: '#1b4877',
    950: '#000000',
  },
}
SCSS
$custom: #1b4877;
$custom-light: #657a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4877",
  "rgb": {
    "r": 27,
    "g": 72,
    "b": 119
  },
  "hsl": {
    "h": 210.652,
    "s": 63.014,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39592,
    "c": 0.09358,
    "h": 252.2
  },
  "luminance": 0.062
}

Semantic roles & 50–950 ramp

primary
#1B4877
secondary
#AB7842
accent
#9642E6
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #1B4877

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

Preview Lab → · Contrast checker → · Palette generator →

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