#1B5186#1B5186

#1B5186 is a dark, moderate cyan. Relative luminance 0.078; OKLCH L 42.8% C 0.104 H 251.4°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#1B5186
RGBrgb(27, 81, 134)
HSLhsl(210, 66%, 32%)
HSVhsv(210, 80%, 53%)
CMYKcmyk(79.9%, 39.6%, 0%, 47.5%)
CIE-LABlab(33.64, 2.33, -34.64)
CIE-LCHlch(33.64, 34.72, 273.85°)
OKLaboklab(42.8% -0.0333 -0.0988)
OKLCHoklch(42.8% 0.104 251.4)
XYZxyz(7.6959, 7.8382, 23.6570)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5186 #86501B
analogous
#1B8686 #1B5186 #1B1B86
triadic
#1B5186 #861B51 #51861B
tetradic
#1B5186 #861B86 #86501B #1B861B
square
#1B5186 #861B86 #86501B #1B861B
split-complementary
#1B5186 #861B1B #86861B
monochromatic
#061320 #113253 #1B5186 #2570B9 #428ED9

Accessibility & contrast

On white

8.18
#1B5186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B5186
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5186#FFFFFF#000000##FFFFFF
##1B51861.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385488
Deuteranopia (green-blind)
#274B85
Tritanopia (blue-blind)
#005E65
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1b5186;
/* rgb */ color: rgb(27, 81, 134);
/* oklch */ color: oklch(42.8% 0.104 251.4);
Tailwind
colors: {
  custom: {
    50: '#6981a9',
    500: '#1b5186',
    950: '#000000',
  },
}
SCSS
$custom: #1b5186;
$custom-light: #6981a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5186",
  "rgb": {
    "r": 27,
    "g": 81,
    "b": 134
  },
  "hsl": {
    "h": 209.72,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42801,
    "c": 0.10431,
    "h": 251.4
  },
  "luminance": 0.07839
}

Semantic roles & 50–950 ramp

primary
#1B5186
secondary
#B97E44
accent
#933EE9
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1B5186

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

Preview Lab → · Contrast checker → · Palette generator →

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