#1B5873#1B5873

#1B5873 is a dark, moderate cyan. Relative luminance 0.085; OKLCH L 43.5% C 0.075 H 231.5°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#1B5873
RGBrgb(27, 88, 115)
HSLhsl(198, 62%, 28%)
HSVhsv(198, 77%, 45%)
CMYKcmyk(76.5%, 23.5%, 0%, 54.9%)
CIE-LABlab(34.90, -9.47, -20.93)
CIE-LCHlch(34.90, 22.97, 245.65°)
OKLaboklab(43.47% -0.0467 -0.0588)
OKLCHoklch(43.47% 0.075 231.5)
XYZxyz(7.0350, 8.4494, 17.4765)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5873 #73361B
analogous
#1B7362 #1B5873 #1B2C73
triadic
#1B5873 #731B58 #58731B
tetradic
#1B5873 #621B73 #73361B #2C731B
square
#1B5873 #621B73 #73361B #2C731B
split-complementary
#1B5873 #731B2C #73621B
monochromatic
#061319 #0F3241 #1B5873 #277EA5 #38A2D0

Accessibility & contrast

On white

7.81
#1B5873 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#1B5873 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5873
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5873#FFFFFF#000000##FFFFFF
##1B58731.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5774
Deuteranopia (green-blind)
#3E4E73
Tritanopia (blue-blind)
#005F61
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1b5873;
/* rgb */ color: rgb(27, 88, 115);
/* oklch */ color: oklch(43.5% 0.075 231.5);
Tailwind
colors: {
  custom: {
    50: '#65879b',
    500: '#1b5873',
    950: '#000000',
  },
}
SCSS
$custom: #1b5873;
$custom-light: #65879b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5873",
  "rgb": {
    "r": 27,
    "g": 88,
    "b": 115
  },
  "hsl": {
    "h": 198.409,
    "s": 61.972,
    "l": 27.843
  },
  "oklch": {
    "l": 0.43469,
    "c": 0.07514,
    "h": 231.5
  },
  "luminance": 0.0845
}

Semantic roles & 50–950 ramp

primary
#1B5873
secondary
#A86142
accent
#7543E5
background
#F6F8F9
surface
#EBEFF2
border
#C6CACC
text
#060B0E
muted
#7A7C7E

Preview Lab

Preview with #1B5873

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

Preview Lab → · Contrast checker → · Palette generator →

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