#1B5187#1B5187

#1B5187 is a dark, moderate cyan. Relative luminance 0.079; OKLCH L 42.9% C 0.106 H 251.8°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#1B5187
RGBrgb(27, 81, 135)
HSLhsl(210, 67%, 32%)
HSVhsv(210, 80%, 53%)
CMYKcmyk(80%, 40%, 0%, 47.1%)
CIE-LABlab(33.70, 2.73, -35.16)
CIE-LCHlch(33.70, 35.27, 274.44°)
OKLaboklab(42.87% -0.0331 -0.1004)
OKLCHoklch(42.87% 0.106 251.8)
XYZxyz(7.7659, 7.8662, 24.0260)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5187 #87511B
analogous
#1B8787 #1B5187 #1B1B87
triadic
#1B5187 #871B51 #51871B
tetradic
#1B5187 #871B87 #87511B #1B871B
square
#1B5187 #871B87 #87511B #1B871B
split-complementary
#1B5187 #871B1B #87871B
monochromatic
#071421 #113254 #1B5187 #2570BA #438ED9

Accessibility & contrast

On white

8.16
#1B5187 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#1B5187 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5187
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5187#FFFFFF#000000##FFFFFF
##1B51871.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375589
Deuteranopia (green-blind)
#264B86
Tritanopia (blue-blind)
#005E65
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1b5187;
/* rgb */ color: rgb(27, 81, 135);
/* oklch */ color: oklch(42.9% 0.106 251.8);
Tailwind
colors: {
  custom: {
    50: '#6981aa',
    500: '#1b5187',
    950: '#000000',
  },
}
SCSS
$custom: #1b5187;
$custom-light: #6981aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5187",
  "rgb": {
    "r": 27,
    "g": 81,
    "b": 135
  },
  "hsl": {
    "h": 210,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42866,
    "c": 0.10567,
    "h": 251.8
  },
  "luminance": 0.07867
}

Semantic roles & 50–950 ramp

primary
#1B5187
secondary
#BA7F44
accent
#943EEA
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1B5187

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

Preview Lab → · Contrast checker → · Palette generator →

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