#1B507E#1B507E

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

Color values

HEX#1B507E
RGBrgb(27, 80, 126)
HSLhsl(208, 65%, 30%)
HSVhsv(208, 79%, 49%)
CMYKcmyk(78.6%, 36.5%, 0%, 50.6%)
CIE-LABlab(32.87, -0.20, -30.94)
CIE-LCHlch(32.87, 30.94, 269.62°)
OKLaboklab(42.04% -0.0346 -0.088)
OKLCHoklch(42.04% 0.095 248.5)
XYZxyz(7.0851, 7.4759, 20.8042)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B507E #7E491B
analogous
#1B7E7B #1B507E #1B1E7E
triadic
#1B507E #7E1B50 #507E1B
tetradic
#1B507E #7B1B7E #7E491B #1E7E1B
square
#1B507E #7B1B7E #7E491B #1E7E1B
split-complementary
#1B507E #7E1B1E #7E7B1B
monochromatic
#051019 #10304C #1B507E #2670B0 #3E8FD6

Accessibility & contrast

On white

8.42
#1B507E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B507E
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B507E#FFFFFF#000000##FFFFFF
##1B507E1.008.422.508.42
#FFFFFF8.421.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b507e;
/* rgb */ color: rgb(27, 80, 126);
/* oklch */ color: oklch(42.0% 0.095 248.5);
Tailwind
colors: {
  custom: {
    50: '#6780a3',
    500: '#1b507e',
    950: '#000000',
  },
}
SCSS
$custom: #1b507e;
$custom-light: #6780a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1b507e",
  "rgb": {
    "r": 27,
    "g": 80,
    "b": 126
  },
  "hsl": {
    "h": 207.879,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.42042,
    "c": 0.09457,
    "h": 248.5
  },
  "luminance": 0.07477
}

Semantic roles & 50–950 ramp

primary
#1B507E
secondary
#B27643
accent
#8E40E8
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1B507E

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

Preview Lab → · Contrast checker → · Palette generator →

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