#1B5479#1B5479

#1B5479 is a dark, moderate cyan. Relative luminance 0.080; OKLCH L 42.8% C 0.084 H 241.5°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#1B5479
RGBrgb(27, 84, 121)
HSLhsl(204, 64%, 29%)
HSVhsv(204, 78%, 47%)
CMYKcmyk(77.7%, 30.6%, 0%, 52.5%)
CIE-LABlab(33.89, -4.72, -26.24)
CIE-LCHlch(33.89, 26.66, 259.80°)
OKLaboklab(42.76% -0.0403 -0.0742)
OKLCHoklch(42.76% 0.084 241.5)
XYZxyz(7.0722, 7.9533, 19.2479)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5479 #79401B
analogous
#1B796F #1B5479 #1B2579
triadic
#1B5479 #791B54 #54791B
tetradic
#1B5479 #6F1B79 #79401B #25791B
square
#1B5479 #6F1B79 #79401B #25791B
split-complementary
#1B5479 #791B25 #796F1B
monochromatic
#061119 #103147 #1B5479 #2677AB #3B97D3

Accessibility & contrast

On white

8.11
#1B5479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#1B5479 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5479
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5479#FFFFFF#000000##FFFFFF
##1B54791.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43557B
Deuteranopia (green-blind)
#364C78
Tritanopia (blue-blind)
#005D61
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1b5479;
/* rgb */ color: rgb(27, 84, 121);
/* oklch */ color: oklch(42.8% 0.084 241.5);
Tailwind
colors: {
  custom: {
    50: '#6684a0',
    500: '#1b5479',
    950: '#000000',
  },
}
SCSS
$custom: #1b5479;
$custom-light: #6684a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5479",
  "rgb": {
    "r": 27,
    "g": 84,
    "b": 121
  },
  "hsl": {
    "h": 203.617,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.42757,
    "c": 0.08446,
    "h": 241.5
  },
  "luminance": 0.07954
}

Semantic roles & 50–950 ramp

primary
#1B5479
secondary
#AD6D43
accent
#8241E7
background
#F6F8F9
surface
#EBEFF2
border
#C6CACC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #1B5479

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

Preview Lab → · Contrast checker → · Palette generator →

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