#1B507D#1B507D

#1B507D is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 42.0% C 0.093 H 248.0°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#1B507D
RGBrgb(27, 80, 125)
HSLhsl(208, 64%, 30%)
HSVhsv(208, 78%, 49%)
CMYKcmyk(78.4%, 36%, 0%, 51%)
CIE-LABlab(32.81, -0.60, -30.41)
CIE-LCHlch(32.81, 30.42, 268.87°)
OKLaboklab(41.98% -0.0349 -0.0864)
OKLCHoklch(41.98% 0.093 248)
XYZxyz(7.0209, 7.4502, 20.4661)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B507D #7D481B
analogous
#1B7D79 #1B507D #1B1F7D
triadic
#1B507D #7D1B50 #507D1B
tetradic
#1B507D #791B7D #7D481B #1F7D1B
square
#1B507D #791B7D #7D481B #1F7D1B
split-complementary
#1B507D #7D1B1F #7D791B
monochromatic
#051019 #10304B #1B507D #2670AF #3D8FD5

Accessibility & contrast

On white

8.43
#1B507D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#1B507D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B507D
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B507D#FFFFFF#000000##FFFFFF
##1B507D1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B527F
Deuteranopia (green-blind)
#2D497C
Tritanopia (blue-blind)
#005B60
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1b507d;
/* rgb */ color: rgb(27, 80, 125);
/* oklch */ color: oklch(42.0% 0.093 248.0);
Tailwind
colors: {
  custom: {
    50: '#6780a3',
    500: '#1b507d',
    950: '#000000',
  },
}
SCSS
$custom: #1b507d;
$custom-light: #6780a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1b507d",
  "rgb": {
    "r": 27,
    "g": 80,
    "b": 125
  },
  "hsl": {
    "h": 207.551,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41979,
    "c": 0.09324,
    "h": 248
  },
  "luminance": 0.07451
}

Semantic roles & 50–950 ramp

primary
#1B507D
secondary
#B17543
accent
#8D40E7
background
#F6F7FA
surface
#EBEEF3
border
#C6C9CD
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1B507D

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

Preview Lab → · Contrast checker → · Palette generator →

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