#1B5879#1B5879

#1B5879 is a dark, moderate cyan. Relative luminance 0.086; OKLCH L 43.8% C 0.081 H 236.9°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#1B5879
RGBrgb(27, 88, 121)
HSLhsl(201, 64%, 29%)
HSVhsv(201, 78%, 47%)
CMYKcmyk(77.7%, 27.3%, 0%, 52.5%)
CIE-LABlab(35.19, -7.21, -24.20)
CIE-LCHlch(35.19, 25.25, 253.40°)
OKLaboklab(43.79% -0.0445 -0.0683)
OKLCHoklch(43.79% 0.081 236.9)
XYZxyz(7.3915, 8.5921, 19.3543)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5879 #793C1B
analogous
#1B796B #1B5879 #1B2979
triadic
#1B5879 #791B58 #58791B
tetradic
#1B5879 #6B1B79 #793C1B #29791B
square
#1B5879 #6B1B79 #793C1B #29791B
split-complementary
#1B5879 #791B29 #796B1B
monochromatic
#061219 #103447 #1B5879 #267CAB #3B9ED3

Accessibility & contrast

On white

7.72
#1B5879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#1B5879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5879
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5879#FFFFFF#000000##FFFFFF
##1B58791.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48587B
Deuteranopia (green-blind)
#3B4F78
Tritanopia (blue-blind)
#006063
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1b5879;
/* rgb */ color: rgb(27, 88, 121);
/* oklch */ color: oklch(43.8% 0.081 236.9);
Tailwind
colors: {
  custom: {
    50: '#6687a0',
    500: '#1b5879',
    950: '#000000',
  },
}
SCSS
$custom: #1b5879;
$custom-light: #6687a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5879",
  "rgb": {
    "r": 27,
    "g": 88,
    "b": 121
  },
  "hsl": {
    "h": 201.064,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.4379,
    "c": 0.08148,
    "h": 236.9
  },
  "luminance": 0.08593
}

Semantic roles & 50–950 ramp

primary
#1B5879
secondary
#AD6843
accent
#7B41E7
background
#F6F8F9
surface
#EBEFF2
border
#C6CACC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #1B5879

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

Preview Lab → · Contrast checker → · Palette generator →

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