#1B5185#1B5185

#1B5185 is a dark, moderate cyan. Relative luminance 0.078; OKLCH L 42.7% C 0.103 H 250.9°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#1B5185
RGBrgb(27, 81, 133)
HSLhsl(209, 66%, 31%)
HSVhsv(209, 80%, 52%)
CMYKcmyk(79.7%, 39.1%, 0%, 47.8%)
CIE-LABlab(33.58, 1.93, -34.12)
CIE-LCHlch(33.58, 34.18, 273.24°)
OKLaboklab(42.74% -0.0336 -0.0973)
OKLCHoklch(42.74% 0.103 250.9)
XYZxyz(7.6265, 7.8104, 23.2914)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5185 #854F1B
analogous
#1B8584 #1B5185 #1B1C85
triadic
#1B5185 #851B51 #51851B
tetradic
#1B5185 #841B85 #854F1B #1C851B
square
#1B5185 #841B85 #854F1B #1C851B
split-complementary
#1B5185 #851B1C #85841B
monochromatic
#06131F #113252 #1B5185 #2570B8 #428FD9

Accessibility & contrast

On white

8.20
#1B5185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#1B5185 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5185
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5185#FFFFFF#000000##FFFFFF
##1B51851.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385487
Deuteranopia (green-blind)
#284B84
Tritanopia (blue-blind)
#005D64
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1b5185;
/* rgb */ color: rgb(27, 81, 133);
/* oklch */ color: oklch(42.7% 0.103 250.9);
Tailwind
colors: {
  custom: {
    50: '#6881a9',
    500: '#1b5185',
    950: '#000000',
  },
}
SCSS
$custom: #1b5185;
$custom-light: #6881a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5185",
  "rgb": {
    "r": 27,
    "g": 81,
    "b": 133
  },
  "hsl": {
    "h": 209.434,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42736,
    "c": 0.10294,
    "h": 250.9
  },
  "luminance": 0.07811
}

Semantic roles & 50–950 ramp

primary
#1B5185
secondary
#B87D44
accent
#923FE9
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1B5185

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

Preview Lab → · Contrast checker → · Palette generator →

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