#1B507F#1B507F

#1B507F is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 42.1% C 0.096 H 249.0°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#1B507F
RGBrgb(27, 80, 127)
HSLhsl(208, 65%, 30%)
HSVhsv(208, 79%, 50%)
CMYKcmyk(78.7%, 37%, 0%, 50.2%)
CIE-LABlab(32.92, 0.19, -31.47)
CIE-LCHlch(32.92, 31.47, 270.35°)
OKLaboklab(42.1% -0.0343 -0.0896)
OKLCHoklch(42.1% 0.096 249)
XYZxyz(7.1500, 7.5018, 21.1457)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B507F #7F4A1B
analogous
#1B7F7C #1B507F #1B1E7F
triadic
#1B507F #7F1B50 #507F1B
tetradic
#1B507F #7C1B7F #7F4A1B #1E7F1B
square
#1B507F #7C1B7F #7F4A1B #1E7F1B
split-complementary
#1B507F #7F1B1E #7F7C1B
monochromatic
#06101A #10304D #1B507F #2670B1 #3E8FD6

Accessibility & contrast

On white

8.40
#1B507F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#1B507F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B507F
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B507F#FFFFFF#000000##FFFFFF
##1B507F1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5281
Deuteranopia (green-blind)
#2C497E
Tritanopia (blue-blind)
#005B61
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1b507f;
/* rgb */ color: rgb(27, 80, 127);
/* oklch */ color: oklch(42.1% 0.096 249.0);
Tailwind
colors: {
  custom: {
    50: '#6780a4',
    500: '#1b507f',
    950: '#000000',
  },
}
SCSS
$custom: #1b507f;
$custom-light: #6780a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1b507f",
  "rgb": {
    "r": 27,
    "g": 80,
    "b": 127
  },
  "hsl": {
    "h": 208.2,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.42104,
    "c": 0.09591,
    "h": 249
  },
  "luminance": 0.07503
}

Semantic roles & 50–950 ramp

primary
#1B507F
secondary
#B37843
accent
#8F40E8
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1B507F

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

Preview Lab → · Contrast checker → · Palette generator →

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