#1C508C#1C508C

#1C508C is a dark, moderate cyan. Relative luminance 0.079; OKLCH L 43.0% C 0.113 H 254.5°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#1C508C
RGBrgb(28, 80, 140)
HSLhsl(212, 67%, 33%)
HSVhsv(212, 80%, 55%)
CMYKcmyk(80%, 42.9%, 0%, 45.1%)
CIE-LABlab(33.72, 5.51, -38.19)
CIE-LCHlch(33.72, 38.58, 278.22°)
OKLaboklab(42.99% -0.0303 -0.1092)
OKLCHoklch(42.99% 0.113 254.5)
XYZxyz(8.0794, 7.8767, 25.9004)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C508C #8C581C
analogous
#1C888C #1C508C #201C8C
triadic
#1C508C #8C1C50 #508C1C
tetradic
#1C508C #8C1C88 #8C581C #1C8C20
square
#1C508C #8C1C88 #8C581C #1C8C20
split-complementary
#1C508C #8C201C #888C1C
monochromatic
#081626 #123359 #1C508C #266DBF #488CDA

Accessibility & contrast

On white

8.15
#1C508C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#1C508C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C508C
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C508C#FFFFFF#000000##FFFFFF
##1C508C1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32558E
Deuteranopia (green-blind)
#1F4B8B
Tritanopia (blue-blind)
#005E67
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1c508c;
/* rgb */ color: rgb(28, 80, 140);
/* oklch */ color: oklch(43.0% 0.113 254.5);
Tailwind
colors: {
  custom: {
    50: '#6a80ae',
    500: '#1c508c',
    950: '#000000',
  },
}
SCSS
$custom: #1c508c;
$custom-light: #6a80ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1c508c",
  "rgb": {
    "r": 28,
    "g": 80,
    "b": 140
  },
  "hsl": {
    "h": 212.143,
    "s": 66.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.4299,
    "c": 0.11338,
    "h": 254.5
  },
  "luminance": 0.07878
}

Semantic roles & 50–950 ramp

primary
#1C508C
secondary
#BC8648
accent
#9A3EEA
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1C508C

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

Preview Lab → · Contrast checker → · Palette generator →

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