#1C2796#1C2796

#1C2796 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.4% C 0.177 H 269.3°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#1C2796
RGBrgb(28, 39, 150)
HSLhsl(235, 69%, 35%)
HSVhsv(235, 81%, 59%)
CMYKcmyk(81.3%, 74%, 0%, 41.2%)
CIE-LABlab(23.34, 37.07, -61.23)
CIE-LCHlch(23.34, 71.58, 301.20°)
OKLaboklab(35.45% -0.0021 -0.1774)
OKLCHoklch(35.45% 0.177 269.3)
XYZxyz(6.7075, 3.8991, 29.2473)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2796 #968B1C
analogous
#1C6496 #1C2796 #4E1C96
triadic
#1C2796 #961C27 #27961C
tetradic
#1C2796 #961C64 #968B1C #1C964E
square
#1C2796 #961C64 #968B1C #1C964E
split-complementary
#1C2796 #964E1C #64961C
monochromatic
#090C2F #121A62 #1C2796 #2634CA #4E5BDE

Accessibility & contrast

On white

11.80
#1C2796 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#1C2796 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2796
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2796#FFFFFF#000000##FFFFFF
##1C27961.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E99
Deuteranopia (green-blind)
#003294
Tritanopia (blue-blind)
#00475C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1c2796;
/* rgb */ color: rgb(28, 39, 150);
/* oklch */ color: oklch(35.4% 0.177 269.3);
Tailwind
colors: {
  custom: {
    50: '#7062b6',
    500: '#1c2796',
    950: '#000000',
  },
}
SCSS
$custom: #1c2796;
$custom-light: #7062b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2796",
  "rgb": {
    "r": 28,
    "g": 39,
    "b": 150
  },
  "hsl": {
    "h": 234.59,
    "s": 68.539,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35445,
    "c": 0.17738,
    "h": 269.3
  },
  "luminance": 0.039
}

Semantic roles & 50–950 ramp

primary
#1C2796
secondary
#C1B64D
accent
#DC3CEB
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #1C2796

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

Preview Lab → · Contrast checker → · Palette generator →

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