#1B5378#1B5378

#1B5378 is a dark, moderate cyan. Relative luminance 0.078; OKLCH L 42.4% C 0.084 H 241.9°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#1B5378
RGBrgb(27, 83, 120)
HSLhsl(204, 63%, 29%)
HSVhsv(204, 78%, 47%)
CMYKcmyk(77.5%, 30.8%, 0%, 52.9%)
CIE-LABlab(33.51, -4.48, -26.21)
CIE-LCHlch(33.51, 26.59, 260.30°)
OKLaboklab(42.44% -0.0396 -0.0741)
OKLCHoklch(42.44% 0.084 241.9)
XYZxyz(6.9341, 7.7748, 18.9009)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5378 #78401B
analogous
#1B786F #1B5378 #1B2578
triadic
#1B5378 #781B53 #53781B
tetradic
#1B5378 #6F1B78 #78401B #25781B
square
#1B5378 #6F1B78 #78401B #25781B
split-complementary
#1B5378 #781B25 #786F1B
monochromatic
#061119 #103046 #1B5378 #2676AA #3B96D3

Accessibility & contrast

On white

8.22
#1B5378 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#1B5378 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5378
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5378#FFFFFF#000000##FFFFFF
##1B53781.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42547A
Deuteranopia (green-blind)
#354B77
Tritanopia (blue-blind)
#005C60
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1b5378;
/* rgb */ color: rgb(27, 83, 120);
/* oklch */ color: oklch(42.4% 0.084 241.9);
Tailwind
colors: {
  custom: {
    50: '#66839f',
    500: '#1b5378',
    950: '#000000',
  },
}
SCSS
$custom: #1b5378;
$custom-light: #66839f;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5378",
  "rgb": {
    "r": 27,
    "g": 83,
    "b": 120
  },
  "hsl": {
    "h": 203.871,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.42443,
    "c": 0.08406,
    "h": 241.9
  },
  "luminance": 0.07776
}

Semantic roles & 50–950 ramp

primary
#1B5378
secondary
#AC6D43
accent
#8341E6
background
#F6F8F9
surface
#EBEFF2
border
#C6CACC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #1B5378

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

Preview Lab → · Contrast checker → · Palette generator →

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