#1C4796#1C4796

#1C4796 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.6% C 0.139 H 261.3°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#1C4796
RGBrgb(28, 71, 150)
HSLhsl(219, 69%, 35%)
HSVhsv(219, 81%, 59%)
CMYKcmyk(81.3%, 52.7%, 0%, 41.2%)
CIE-LABlab(31.70, 15.63, -47.54)
CIE-LCHlch(31.70, 50.05, 288.20°)
OKLaboklab(41.65% -0.021 -0.1369)
OKLCHoklch(41.65% 0.139 261.3)
XYZxyz(8.2352, 6.9544, 29.7565)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4796 #966B1C
analogous
#1C8496 #1C4796 #2E1C96
triadic
#1C4796 #961C47 #47961C
tetradic
#1C4796 #961C84 #966B1C #1C962E
square
#1C4796 #961C84 #966B1C #1C962E
split-complementary
#1C4796 #962E1C #84961C
monochromatic
#09162F #122F62 #1C4796 #265FCA #4E81DE

Accessibility & contrast

On white

8.78
#1C4796 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#1C4796 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4796
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4796#FFFFFF#000000##FFFFFF
##1C47961.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115099
Deuteranopia (green-blind)
#004594
Tritanopia (blue-blind)
#005A67
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1c4796;
/* rgb */ color: rgb(28, 71, 150);
/* oklch */ color: oklch(41.6% 0.139 261.3);
Tailwind
colors: {
  custom: {
    50: '#6d79b5',
    500: '#1c4796',
    950: '#000000',
  },
}
SCSS
$custom: #1c4796;
$custom-light: #6d79b5;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4796",
  "rgb": {
    "r": 28,
    "g": 71,
    "b": 150
  },
  "hsl": {
    "h": 218.852,
    "s": 68.539,
    "l": 34.902
  },
  "oklch": {
    "l": 0.4165,
    "c": 0.13855,
    "h": 261.3
  },
  "luminance": 0.06955
}

Semantic roles & 50–950 ramp

primary
#1C4796
secondary
#C1984D
accent
#AE3CEB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1C4796

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

Preview Lab → · Contrast checker → · Palette generator →

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