#1C3874#1C3874

#1C3874 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.5% C 0.109 H 263.2°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#1C3874
RGBrgb(28, 56, 116)
HSLhsl(221, 61%, 28%)
HSVhsv(221, 76%, 45%)
CMYKcmyk(75.9%, 51.7%, 0%, 54.5%)
CIE-LABlab(24.75, 12.25, -37.62)
CIE-LCHlch(24.75, 39.57, 288.03°)
OKLaboklab(35.55% -0.0129 -0.1081)
OKLCHoklch(35.55% 0.109 263.2)
XYZxyz(5.0443, 4.3356, 17.0906)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C3874 #74581C
analogous
#1C6474 #1C3874 #2C1C74
triadic
#1C3874 #741C38 #38741C
tetradic
#1C3874 #741C64 #74581C #1C742C
square
#1C3874 #741C64 #74581C #1C742C
split-complementary
#1C3874 #742C1C #64741C
monochromatic
#060C19 #102043 #1C3874 #2850A5 #3B6AD0

Accessibility & contrast

On white

11.25
#1C3874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#1C3874 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C3874
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C3874#FFFFFF#000000##FFFFFF
##1C38741.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153F76
Deuteranopia (green-blind)
#003773
Tritanopia (blue-blind)
#004650
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1c3874;
/* rgb */ color: rgb(28, 56, 116);
/* oklch */ color: oklch(35.5% 0.109 263.2);
Tailwind
colors: {
  custom: {
    50: '#656e9c',
    500: '#1c3874',
    950: '#000000',
  },
}
SCSS
$custom: #1c3874;
$custom-light: #656e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#1c3874",
  "rgb": {
    "r": 28,
    "g": 56,
    "b": 116
  },
  "hsl": {
    "h": 220.909,
    "s": 61.111,
    "l": 28.235
  },
  "oklch": {
    "l": 0.3555,
    "c": 0.10884,
    "h": 263.2
  },
  "luminance": 0.04336
}

Semantic roles & 50–950 ramp

primary
#1C3874
secondary
#A88843
accent
#B144E4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #1C3874

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

Preview Lab → · Contrast checker → · Palette generator →

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