#1C3996#1C3996

#1C3996 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.7% C 0.156 H 265.9°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#1C3996
RGBrgb(28, 57, 150)
HSLhsl(226, 69%, 35%)
HSVhsv(226, 81%, 59%)
CMYKcmyk(81.3%, 62%, 0%, 41.2%)
CIE-LABlab(27.78, 25.25, -53.93)
CIE-LCHlch(27.78, 59.55, 295.09°)
OKLaboklab(38.69% -0.0113 -0.156)
OKLCHoklch(38.69% 0.156 265.9)
XYZxyz(7.4451, 5.3743, 29.4932)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C3996 #96791C
analogous
#1C7696 #1C3996 #3C1C96
triadic
#1C3996 #961C39 #39961C
tetradic
#1C3996 #961C76 #96791C #1C963C
square
#1C3996 #961C76 #96791C #1C963C
split-complementary
#1C3996 #963C1C #76961C
monochromatic
#09122F #122562 #1C3996 #264DCA #4E71DE

Accessibility & contrast

On white

10.12
#1C3996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#1C3996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C3996
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C3996#FFFFFF#000000##FFFFFF
##1C39961.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004799
Deuteranopia (green-blind)
#003C94
Tritanopia (blue-blind)
#005162
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1c3996;
/* rgb */ color: rgb(28, 57, 150);
/* oklch */ color: oklch(38.7% 0.156 265.9);
Tailwind
colors: {
  custom: {
    50: '#6e6fb6',
    500: '#1c3996',
    950: '#000000',
  },
}
SCSS
$custom: #1c3996;
$custom-light: #6e6fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#1c3996",
  "rgb": {
    "r": 28,
    "g": 57,
    "b": 150
  },
  "hsl": {
    "h": 225.738,
    "s": 68.539,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38689,
    "c": 0.15638,
    "h": 265.9
  },
  "luminance": 0.05375
}

Semantic roles & 50–950 ramp

primary
#1C3996
secondary
#C1A54D
accent
#C23CEB
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1C3996

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

Preview Lab → · Contrast checker → · Palette generator →

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