#1B5078#1B5078

#1B5078 is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 41.7% C 0.087 H 245.1°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#1B5078
RGBrgb(27, 80, 120)
HSLhsl(206, 63%, 29%)
HSVhsv(206, 78%, 47%)
CMYKcmyk(77.5%, 33.3%, 0%, 52.9%)
CIE-LABlab(32.54, -2.57, -27.74)
CIE-LCHlch(32.54, 27.85, 264.71°)
OKLaboklab(41.67% -0.0365 -0.0786)
OKLCHoklch(41.67% 0.087 245.1)
XYZxyz(6.7095, 7.3256, 18.8260)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5078 #78431B
analogous
#1B7872 #1B5078 #1B2278
triadic
#1B5078 #781B50 #50781B
tetradic
#1B5078 #721B78 #78431B #22781B
square
#1B5078 #721B78 #78431B #22781B
split-complementary
#1B5078 #781B22 #78721B
monochromatic
#061119 #102F46 #1B5078 #2671AA #3B91D3

Accessibility & contrast

On white

8.52
#1B5078 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#1B5078 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5078
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5078#FFFFFF#000000##FFFFFF
##1B50781.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E517A
Deuteranopia (green-blind)
#314977
Tritanopia (blue-blind)
#005A5E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1b5078;
/* rgb */ color: rgb(27, 80, 120);
/* oklch */ color: oklch(41.7% 0.087 245.1);
Tailwind
colors: {
  custom: {
    50: '#66809f',
    500: '#1b5078',
    950: '#000000',
  },
}
SCSS
$custom: #1b5078;
$custom-light: #66809f;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5078",
  "rgb": {
    "r": 27,
    "g": 80,
    "b": 120
  },
  "hsl": {
    "h": 205.806,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41674,
    "c": 0.0867,
    "h": 245.1
  },
  "luminance": 0.07326
}

Semantic roles & 50–950 ramp

primary
#1B5078
secondary
#AC7043
accent
#8841E6
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #1B5078

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

Preview Lab → · Contrast checker → · Palette generator →

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