#1B4F78#1B4F78

#1B4F78 is a dark, moderate cyan. Relative luminance 0.072; OKLCH L 41.4% C 0.088 H 246.1°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#1B4F78
RGBrgb(27, 79, 120)
HSLhsl(206, 63%, 29%)
HSVhsv(206, 78%, 47%)
CMYKcmyk(77.5%, 34.2%, 0%, 52.9%)
CIE-LABlab(32.21, -1.92, -28.24)
CIE-LCHlch(32.21, 28.31, 266.10°)
OKLaboklab(41.42% -0.0354 -0.0801)
OKLCHoklch(41.42% 0.088 246.1)
XYZxyz(6.6368, 7.1803, 18.8018)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4F78 #78441B
analogous
#1B7873 #1B4F78 #1B2178
triadic
#1B4F78 #781B4F #4F781B
tetradic
#1B4F78 #731B78 #78441B #21781B
square
#1B4F78 #731B78 #78441B #21781B
split-complementary
#1B4F78 #781B21 #78731B
monochromatic
#061019 #102E46 #1B4F78 #2670AA #3B90D3

Accessibility & contrast

On white

8.62
#1B4F78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#1B4F78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4F78
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4F78#FFFFFF#000000##FFFFFF
##1B4F781.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C517A
Deuteranopia (green-blind)
#2F4877
Tritanopia (blue-blind)
#00595E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1b4f78;
/* rgb */ color: rgb(27, 79, 120);
/* oklch */ color: oklch(41.4% 0.088 246.1);
Tailwind
colors: {
  custom: {
    50: '#66809f',
    500: '#1b4f78',
    950: '#000000',
  },
}
SCSS
$custom: #1b4f78;
$custom-light: #66809f;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4f78",
  "rgb": {
    "r": 27,
    "g": 79,
    "b": 120
  },
  "hsl": {
    "h": 206.452,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41419,
    "c": 0.08764,
    "h": 246.1
  },
  "luminance": 0.07181
}

Semantic roles & 50–950 ramp

primary
#1B4F78
secondary
#AC7143
accent
#8A41E6
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #1B4F78

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

Preview Lab → · Contrast checker → · Palette generator →

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