#1B5284#1B5284

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

Color values

HEX#1B5284
RGBrgb(27, 82, 132)
HSLhsl(209, 66%, 31%)
HSVhsv(209, 80%, 52%)
CMYKcmyk(79.5%, 37.9%, 0%, 48.2%)
CIE-LABlab(33.84, 0.88, -33.10)
CIE-LCHlch(33.84, 33.11, 271.52°)
OKLaboklab(42.92% -0.0348 -0.0943)
OKLCHoklch(42.92% 0.101 249.7)
XYZxyz(7.6326, 7.9326, 22.9542)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5284 #844D1B
analogous
#1B8481 #1B5284 #1B1E84
triadic
#1B5284 #841B52 #52841B
tetradic
#1B5284 #811B84 #844D1B #1E841B
square
#1B5284 #811B84 #844D1B #1E841B
split-complementary
#1B5284 #841B1E #84811B
monochromatic
#06131E #113251 #1B5284 #2572B7 #4190D8

Accessibility & contrast

On white

8.12
#1B5284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#1B5284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5284
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5284#FFFFFF#000000##FFFFFF
##1B52841.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5586
Deuteranopia (green-blind)
#2B4B83
Tritanopia (blue-blind)
#005E64
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1b5284;
/* rgb */ color: rgb(27, 82, 132);
/* oklch */ color: oklch(42.9% 0.101 249.7);
Tailwind
colors: {
  custom: {
    50: '#6882a8',
    500: '#1b5284',
    950: '#000000',
  },
}
SCSS
$custom: #1b5284;
$custom-light: #6882a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5284",
  "rgb": {
    "r": 27,
    "g": 82,
    "b": 132
  },
  "hsl": {
    "h": 208.571,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42919,
    "c": 0.10052,
    "h": 249.7
  },
  "luminance": 0.07934
}

Semantic roles & 50–950 ramp

primary
#1B5284
secondary
#B77B43
accent
#903FE9
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1B5284

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

Preview Lab → · Contrast checker → · Palette generator →

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