#1B4C78#1B4C78

#1B4C78 is a dark, moderate cyan. Relative luminance 0.068; OKLCH L 40.7% C 0.091 H 249.1°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#1B4C78
RGBrgb(27, 76, 120)
HSLhsl(208, 63%, 29%)
HSVhsv(208, 78%, 47%)
CMYKcmyk(77.5%, 36.7%, 0%, 52.9%)
CIE-LABlab(31.25, 0.03, -29.77)
CIE-LCHlch(31.25, 29.77, 270.06°)
OKLaboklab(40.66% -0.0324 -0.0846)
OKLCHoklch(40.66% 0.091 249.1)
XYZxyz(6.4253, 6.7572, 18.7313)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4C78 #78471B
analogous
#1B7876 #1B4C78 #1B1E78
triadic
#1B4C78 #781B4C #4C781B
tetradic
#1B4C78 #761B78 #78471B #1E781B
square
#1B4C78 #761B78 #78471B #1E781B
split-complementary
#1B4C78 #781B1E #78761B
monochromatic
#061019 #102C46 #1B4C78 #266CAA #3B8BD3

Accessibility & contrast

On white

8.93
#1B4C78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B4C78
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4C78#FFFFFF#000000##FFFFFF
##1B4C781.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384E7A
Deuteranopia (green-blind)
#2A4677
Tritanopia (blue-blind)
#00565C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1b4c78;
/* rgb */ color: rgb(27, 76, 120);
/* oklch */ color: oklch(40.7% 0.091 249.1);
Tailwind
colors: {
  custom: {
    50: '#657d9f',
    500: '#1b4c78',
    950: '#000000',
  },
}
SCSS
$custom: #1b4c78;
$custom-light: #657d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4c78",
  "rgb": {
    "r": 27,
    "g": 76,
    "b": 120
  },
  "hsl": {
    "h": 208.387,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40659,
    "c": 0.09063,
    "h": 249.1
  },
  "luminance": 0.06758
}

Semantic roles & 50–950 ramp

primary
#1B4C78
secondary
#AC7543
accent
#8F41E6
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #1B4C78

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

Preview Lab → · Contrast checker → · Palette generator →

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