#1B5280#1B5280

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

Color values

HEX#1B5280
RGBrgb(27, 82, 128)
HSLhsl(207, 65%, 30%)
HSVhsv(207, 79%, 50%)
CMYKcmyk(78.9%, 35.9%, 0%, 49.8%)
CIE-LABlab(33.62, -0.71, -30.99)
CIE-LCHlch(33.62, 31.00, 268.69°)
OKLaboklab(42.67% -0.036 -0.0881)
OKLCHoklch(42.67% 0.095 247.8)
XYZxyz(7.3641, 7.8252, 21.5402)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5280 #80491B
analogous
#1B807B #1B5280 #1B1F80
triadic
#1B5280 #801B52 #52801B
tetradic
#1B5280 #7B1B80 #80491B #1F801B
square
#1B5280 #7B1B80 #80491B #1F801B
split-complementary
#1B5280 #801B1F #807B1B
monochromatic
#06111B #10324D #1B5280 #2672B3 #3F91D6

Accessibility & contrast

On white

8.19
#1B5280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B5280
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5280#FFFFFF#000000##FFFFFF
##1B52801.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5482
Deuteranopia (green-blind)
#2E4B7F
Tritanopia (blue-blind)
#005D63
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1b5280;
/* rgb */ color: rgb(27, 82, 128);
/* oklch */ color: oklch(42.7% 0.095 247.8);
Tailwind
colors: {
  custom: {
    50: '#6782a5',
    500: '#1b5280',
    950: '#000000',
  },
}
SCSS
$custom: #1b5280;
$custom-light: #6782a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5280",
  "rgb": {
    "r": 27,
    "g": 82,
    "b": 128
  },
  "hsl": {
    "h": 207.327,
    "s": 65.161,
    "l": 30.392
  },
  "oklch": {
    "l": 0.42667,
    "c": 0.09519,
    "h": 247.8
  },
  "luminance": 0.07826
}

Semantic roles & 50–950 ramp

primary
#1B5280
secondary
#B47643
accent
#8C40E8
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1B5280

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

Preview Lab → · Contrast checker → · Palette generator →

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