#1C3879#1C3879

#1C3879 is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.0% C 0.116 H 263.9°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#1C3879
RGBrgb(28, 56, 121)
HSLhsl(222, 62%, 29%)
HSVhsv(222, 77%, 47%)
CMYKcmyk(76.9%, 53.7%, 0%, 52.5%)
CIE-LABlab(25.12, 14.29, -40.20)
CIE-LCHlch(25.12, 42.66, 289.56°)
OKLaboklab(35.95% -0.0123 -0.1156)
OKLCHoklch(35.95% 0.116 263.9)
XYZxyz(5.3430, 4.4551, 18.6638)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C3879 #795D1C
analogous
#1C6779 #1C3879 #2E1C79
triadic
#1C3879 #791C38 #38791C
tetradic
#1C3879 #791C67 #795D1C #1C792E
square
#1C3879 #791C67 #795D1C #1C792E
split-complementary
#1C3879 #792E1C #67791C
monochromatic
#060C19 #102147 #1C3879 #284FAB #3D6AD2

Accessibility & contrast

On white

11.10
#1C3879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#1C3879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C3879
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C3879#FFFFFF#000000##FFFFFF
##1C38791.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c3879;
/* rgb */ color: rgb(28, 56, 121);
/* oklch */ color: oklch(36.0% 0.116 263.9);
Tailwind
colors: {
  custom: {
    50: '#676ea0',
    500: '#1c3879',
    950: '#000000',
  },
}
SCSS
$custom: #1c3879;
$custom-light: #676ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#1c3879",
  "rgb": {
    "r": 28,
    "g": 56,
    "b": 121
  },
  "hsl": {
    "h": 221.935,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.35951,
    "c": 0.11629,
    "h": 263.9
  },
  "luminance": 0.04456
}

Semantic roles & 50–950 ramp

primary
#1C3879
secondary
#AD8D44
accent
#B442E5
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07070F
muted
#7A7A7E

Preview Lab

Preview with #1C3879

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

Preview Lab → · Contrast checker → · Palette generator →

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