#1B5871#1B5871

#1B5871 is a dark, moderate cyan. Relative luminance 0.084; OKLCH L 43.4% C 0.073 H 229.5°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#1B5871
RGBrgb(27, 88, 113)
HSLhsl(197, 61%, 27%)
HSVhsv(197, 76%, 44%)
CMYKcmyk(76.1%, 22.1%, 0%, 55.7%)
CIE-LABlab(34.81, -10.22, -19.83)
CIE-LCHlch(34.81, 22.31, 242.74°)
OKLaboklab(43.37% -0.0475 -0.0557)
OKLCHoklch(43.37% 0.073 229.5)
XYZxyz(6.9212, 8.4039, 16.8769)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5871 #71341B
analogous
#1B715F #1B5871 #1B2D71
triadic
#1B5871 #711B58 #58711B
tetradic
#1B5871 #5F1B71 #71341B #2D711B
square
#1B5871 #5F1B71 #71341B #2D711B
split-complementary
#1B5871 #711B2D #715F1B
monochromatic
#061319 #0F3240 #1B5871 #277EA2 #37A3CF

Accessibility & contrast

On white

7.83
#1B5871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#1B5871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5871
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5871#FFFFFF#000000##FFFFFF
##1B58711.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5772
Deuteranopia (green-blind)
#3F4E71
Tritanopia (blue-blind)
#005F60
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1b5871;
/* rgb */ color: rgb(27, 88, 113);
/* oklch */ color: oklch(43.4% 0.073 229.5);
Tailwind
colors: {
  custom: {
    50: '#65879a',
    500: '#1b5871',
    950: '#000000',
  },
}
SCSS
$custom: #1b5871;
$custom-light: #65879a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5871",
  "rgb": {
    "r": 27,
    "g": 88,
    "b": 113
  },
  "hsl": {
    "h": 197.442,
    "s": 61.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.43366,
    "c": 0.07321,
    "h": 229.5
  },
  "luminance": 0.08405
}

Semantic roles & 50–950 ramp

primary
#1B5871
secondary
#A65F42
accent
#7243E5
background
#F6F8F9
surface
#EBEFF2
border
#C6CACC
text
#060B0E
muted
#7A7C7E

Preview Lab

Preview with #1B5871

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

Preview Lab → · Contrast checker → · Palette generator →

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