#1C4979#1C4979

#1C4979 is a dark, moderate cyan. Relative luminance 0.064; OKLCH L 40.0% C 0.095 H 252.6°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#1C4979
RGBrgb(28, 73, 121)
HSLhsl(211, 62%, 29%)
HSVhsv(211, 77%, 47%)
CMYKcmyk(76.9%, 39.7%, 0%, 52.5%)
CIE-LABlab(30.38, 2.56, -31.77)
CIE-LCHlch(30.38, 31.87, 274.60°)
OKLaboklab(40.01% -0.0284 -0.0905)
OKLCHoklch(40.01% 0.095 252.6)
XYZxyz(6.3113, 6.3917, 18.9866)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4979 #794C1C
analogous
#1C7879 #1C4979 #1E1C79
triadic
#1C4979 #791C49 #49791C
tetradic
#1C4979 #791C78 #794C1C #1C791E
square
#1C4979 #791C78 #794C1C #1C791E
split-complementary
#1C4979 #791E1C #78791C
monochromatic
#060F19 #102B47 #1C4979 #2867AB #3D85D2

Accessibility & contrast

On white

9.22
#1C4979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#1C4979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4979
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4979#FFFFFF#000000##FFFFFF
##1C49791.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334C7B
Deuteranopia (green-blind)
#244478
Tritanopia (blue-blind)
#00545B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1c4979;
/* rgb */ color: rgb(28, 73, 121);
/* oklch */ color: oklch(40.0% 0.095 252.6);
Tailwind
colors: {
  custom: {
    50: '#667ba0',
    500: '#1c4979',
    950: '#000000',
  },
}
SCSS
$custom: #1c4979;
$custom-light: #667ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4979",
  "rgb": {
    "r": 28,
    "g": 73,
    "b": 121
  },
  "hsl": {
    "h": 210.968,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40008,
    "c": 0.09489,
    "h": 252.6
  },
  "luminance": 0.06392
}

Semantic roles & 50–950 ramp

primary
#1C4979
secondary
#AD7A44
accent
#9742E5
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #1C4979

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

Preview Lab → · Contrast checker → · Palette generator →

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