#1C508B#1C508B

#1C508B is a dark, moderate cyan. Relative luminance 0.078; OKLCH L 42.9% C 0.112 H 254.2°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#1C508B
RGBrgb(28, 80, 139)
HSLhsl(212, 66%, 33%)
HSVhsv(212, 80%, 55%)
CMYKcmyk(79.9%, 42.4%, 0%, 45.5%)
CIE-LABlab(33.66, 5.11, -37.68)
CIE-LCHlch(33.66, 38.02, 277.73°)
OKLaboklab(42.92% -0.0306 -0.1077)
OKLCHoklch(42.92% 0.112 254.2)
XYZxyz(8.0060, 7.8473, 25.5138)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C508B #8B571C
analogous
#1C878B #1C508B #201C8B
triadic
#1C508B #8B1C50 #508B1C
tetradic
#1C508B #8B1C87 #8B571C #1C8B20
square
#1C508B #8B1C87 #8B571C #1C8B20
split-complementary
#1C508B #8B201C #878B1C
monochromatic
#071525 #123358 #1C508B #266DBE #478CDA

Accessibility & contrast

On white

8.17
#1C508B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C508B
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C508B#FFFFFF#000000##FFFFFF
##1C508B1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33558D
Deuteranopia (green-blind)
#204B8A
Tritanopia (blue-blind)
#005E66
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1c508b;
/* rgb */ color: rgb(28, 80, 139);
/* oklch */ color: oklch(42.9% 0.112 254.2);
Tailwind
colors: {
  custom: {
    50: '#6a80ad',
    500: '#1c508b',
    950: '#000000',
  },
}
SCSS
$custom: #1c508b;
$custom-light: #6a80ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1c508b",
  "rgb": {
    "r": 28,
    "g": 80,
    "b": 139
  },
  "hsl": {
    "h": 211.892,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42922,
    "c": 0.11199,
    "h": 254.2
  },
  "luminance": 0.07848
}

Semantic roles & 50–950 ramp

primary
#1C508B
secondary
#BC8547
accent
#993EE9
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1C508B

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

Preview Lab → · Contrast checker → · Palette generator →

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