#1C3979#1C3979

#1C3979 is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.2% C 0.115 H 263.4°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#1C3979
RGBrgb(28, 57, 121)
HSLhsl(221, 62%, 29%)
HSVhsv(221, 77%, 47%)
CMYKcmyk(76.9%, 52.9%, 0%, 52.5%)
CIE-LABlab(25.42, 13.58, -39.72)
CIE-LCHlch(25.42, 41.97, 288.88°)
OKLaboklab(36.18% -0.0132 -0.1142)
OKLCHoklch(36.18% 0.115 263.4)
XYZxyz(5.3920, 4.5530, 18.6801)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C3979 #795C1C
analogous
#1C6879 #1C3979 #2E1C79
triadic
#1C3979 #791C39 #39791C
tetradic
#1C3979 #791C68 #795C1C #1C792E
square
#1C3979 #791C68 #795C1C #1C792E
split-complementary
#1C3979 #792E1C #68791C
monochromatic
#060C19 #102247 #1C3979 #2850AB #3D6CD2

Accessibility & contrast

On white

10.99
#1C3979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#1C3979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C3979
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C3979#FFFFFF#000000##FFFFFF
##1C39791.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11417B
Deuteranopia (green-blind)
#003878
Tritanopia (blue-blind)
#004853
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1c3979;
/* rgb */ color: rgb(28, 57, 121);
/* oklch */ color: oklch(36.2% 0.115 263.4);
Tailwind
colors: {
  custom: {
    50: '#666ea0',
    500: '#1c3979',
    950: '#000000',
  },
}
SCSS
$custom: #1c3979;
$custom-light: #666ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#1c3979",
  "rgb": {
    "r": 28,
    "g": 57,
    "b": 121
  },
  "hsl": {
    "h": 221.29,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.36179,
    "c": 0.11496,
    "h": 263.4
  },
  "luminance": 0.04554
}

Semantic roles & 50–950 ramp

primary
#1C3979
secondary
#AD8C44
accent
#B342E5
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07070F
muted
#7A7A7E

Preview Lab

Preview with #1C3979

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

Preview Lab → · Contrast checker → · Palette generator →

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