#1B5287#1B5287

#1B5287 is a dark, moderate cyan. Relative luminance 0.080; OKLCH L 43.1% C 0.105 H 251.0°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#1B5287
RGBrgb(27, 82, 135)
HSLhsl(209, 67%, 32%)
HSVhsv(209, 80%, 53%)
CMYKcmyk(80%, 39.3%, 0%, 47.1%)
CIE-LABlab(34.02, 2.07, -34.66)
CIE-LCHlch(34.02, 34.73, 273.42°)
OKLaboklab(43.11% -0.034 -0.0989)
OKLCHoklch(43.11% 0.105 251)
XYZxyz(7.8408, 8.0159, 24.0510)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5287 #87501B
analogous
#1B8786 #1B5287 #1B1C87
triadic
#1B5287 #871B52 #52871B
tetradic
#1B5287 #861B87 #87501B #1C871B
square
#1B5287 #861B87 #87501B #1C871B
split-complementary
#1B5287 #871B1C #87861B
monochromatic
#071421 #113354 #1B5287 #2571BA #4390D9

Accessibility & contrast

On white

8.07
#1B5287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#1B5287 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5287
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5287#FFFFFF#000000##FFFFFF
##1B52871.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395589
Deuteranopia (green-blind)
#284B86
Tritanopia (blue-blind)
#005F66
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1b5287;
/* rgb */ color: rgb(27, 82, 135);
/* oklch */ color: oklch(43.1% 0.105 251.0);
Tailwind
colors: {
  custom: {
    50: '#6982aa',
    500: '#1b5287',
    950: '#000000',
  },
}
SCSS
$custom: #1b5287;
$custom-light: #6982aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5287",
  "rgb": {
    "r": 27,
    "g": 82,
    "b": 135
  },
  "hsl": {
    "h": 209.444,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43111,
    "c": 0.10457,
    "h": 251
  },
  "luminance": 0.08017
}

Semantic roles & 50–950 ramp

primary
#1B5287
secondary
#BA7E44
accent
#923EEA
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1B5287

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

Preview Lab → · Contrast checker → · Palette generator →

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