#1B5282#1B5282

#1B5282 is a dark, moderate cyan. Relative luminance 0.079; OKLCH L 42.8% C 0.098 H 248.8°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#1B5282
RGBrgb(27, 82, 130)
HSLhsl(208, 66%, 31%)
HSVhsv(208, 79%, 51%)
CMYKcmyk(79.2%, 36.9%, 0%, 49%)
CIE-LABlab(33.73, 0.08, -32.05)
CIE-LCHlch(33.73, 32.05, 270.15°)
OKLaboklab(42.79% -0.0354 -0.0912)
OKLCHoklch(42.79% 0.098 248.8)
XYZxyz(7.4970, 7.8784, 22.2403)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5282 #824B1B
analogous
#1B827E #1B5282 #1B1F82
triadic
#1B5282 #821B52 #52821B
tetradic
#1B5282 #7E1B82 #824B1B #1F821B
square
#1B5282 #7E1B82 #824B1B #1F821B
split-complementary
#1B5282 #821B1F #827E1B
monochromatic
#06121D #10324F #1B5282 #2672B5 #4091D7

Accessibility & contrast

On white

8.15
#1B5282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#1B5282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5282
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5282#FFFFFF#000000##FFFFFF
##1B52821.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5584
Deuteranopia (green-blind)
#2D4B81
Tritanopia (blue-blind)
#005D64
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1b5282;
/* rgb */ color: rgb(27, 82, 130);
/* oklch */ color: oklch(42.8% 0.098 248.8);
Tailwind
colors: {
  custom: {
    50: '#6882a6',
    500: '#1b5282',
    950: '#000000',
  },
}
SCSS
$custom: #1b5282;
$custom-light: #6882a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5282",
  "rgb": {
    "r": 27,
    "g": 82,
    "b": 130
  },
  "hsl": {
    "h": 207.961,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42792,
    "c": 0.09785,
    "h": 248.8
  },
  "luminance": 0.07879
}

Semantic roles & 50–950 ramp

primary
#1B5282
secondary
#B67943
accent
#8E3FE9
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1B5282

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

Preview Lab → · Contrast checker → · Palette generator →

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