#1B507C#1B507C

#1B507C is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 41.9% C 0.092 H 247.5°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#1B507C
RGBrgb(27, 80, 124)
HSLhsl(207, 64%, 30%)
HSVhsv(207, 78%, 49%)
CMYKcmyk(78.2%, 35.5%, 0%, 51.4%)
CIE-LABlab(32.76, -0.99, -29.88)
CIE-LCHlch(32.76, 29.89, 268.09°)
OKLaboklab(41.92% -0.0352 -0.0849)
OKLCHoklch(41.92% 0.092 247.5)
XYZxyz(6.9574, 7.4248, 20.1313)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B507C #7C471B
analogous
#1B7C77 #1B507C #1B207C
triadic
#1B507C #7C1B50 #507C1B
tetradic
#1B507C #771B7C #7C471B #207C1B
square
#1B507C #771B7C #7C471B #207C1B
split-complementary
#1B507C #7C1B20 #7C771B
monochromatic
#051019 #10304A #1B507C #2670AE #3D90D5

Accessibility & contrast

On white

8.45
#1B507C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B507C
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B507C#FFFFFF#000000##FFFFFF
##1B507C1.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b507c;
/* rgb */ color: rgb(27, 80, 124);
/* oklch */ color: oklch(41.9% 0.092 247.5);
Tailwind
colors: {
  custom: {
    50: '#6680a2',
    500: '#1b507c',
    950: '#000000',
  },
}
SCSS
$custom: #1b507c;
$custom-light: #6680a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1b507c",
  "rgb": {
    "r": 27,
    "g": 80,
    "b": 124
  },
  "hsl": {
    "h": 207.216,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41917,
    "c": 0.09192,
    "h": 247.5
  },
  "luminance": 0.07426
}

Semantic roles & 50–950 ramp

primary
#1B507C
secondary
#B07443
accent
#8C41E7
background
#F6F7FA
surface
#EBEEF3
border
#C6C9CD
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1B507C

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

Preview Lab → · Contrast checker → · Palette generator →

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