#1B5178#1B5178

#1B5178 is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 41.9% C 0.086 H 244.1°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#1B5178
RGBrgb(27, 81, 120)
HSLhsl(205, 63%, 29%)
HSVhsv(205, 78%, 47%)
CMYKcmyk(77.5%, 32.5%, 0%, 52.9%)
CIE-LABlab(32.86, -3.21, -27.23)
CIE-LCHlch(32.86, 27.41, 263.28°)
OKLaboklab(41.93% -0.0375 -0.0771)
OKLCHoklch(41.93% 0.086 244.1)
XYZxyz(6.7833, 7.4732, 18.8506)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5178 #78421B
analogous
#1B7871 #1B5178 #1B2378
triadic
#1B5178 #781B51 #51781B
tetradic
#1B5178 #711B78 #78421B #23781B
square
#1B5178 #711B78 #78421B #23781B
split-complementary
#1B5178 #781B23 #78711B
monochromatic
#061119 #102F46 #1B5178 #2673AA #3B93D3

Accessibility & contrast

On white

8.42
#1B5178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#1B5178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5178
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5178#FFFFFF#000000##FFFFFF
##1B51781.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F527A
Deuteranopia (green-blind)
#324977
Tritanopia (blue-blind)
#005B5F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1b5178;
/* rgb */ color: rgb(27, 81, 120);
/* oklch */ color: oklch(41.9% 0.086 244.1);
Tailwind
colors: {
  custom: {
    50: '#66819f',
    500: '#1b5178',
    950: '#000000',
  },
}
SCSS
$custom: #1b5178;
$custom-light: #66819f;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5178",
  "rgb": {
    "r": 27,
    "g": 81,
    "b": 120
  },
  "hsl": {
    "h": 205.161,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.4193,
    "c": 0.08579,
    "h": 244.1
  },
  "luminance": 0.07474
}

Semantic roles & 50–950 ramp

primary
#1B5178
secondary
#AC6F43
accent
#8741E6
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #1B5178

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

Preview Lab → · Contrast checker → · Palette generator →

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