#1C2371#1C2371

#1C2371 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.8% C 0.132 H 271.9°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#1C2371
RGBrgb(28, 35, 113)
HSLhsl(235, 60%, 28%)
HSVhsv(235, 75%, 44%)
CMYKcmyk(75.2%, 69%, 0%, 55.7%)
CIE-LABlab(18.54, 25.88, -45.80)
CIE-LCHlch(18.54, 52.60, 299.47°)
OKLaboklab(30.83% 0.0044 -0.1324)
OKLCHoklch(30.83% 0.132 271.9)
XYZxyz(4.0596, 2.6408, 15.9154)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2371 #716A1C
analogous
#1C4D71 #1C2371 #401C71
triadic
#1C2371 #711C23 #23711C
tetradic
#1C2371 #711C4D #716A1C #1C7140
square
#1C2371 #711C4D #716A1C #1C7140
split-complementary
#1C2371 #71401C #4D711C
monochromatic
#060819 #101440 #1C2371 #2832A2 #3946CE

Accessibility & contrast

On white

13.74
#1C2371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#1C2371 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2371
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2371#FFFFFF#000000##FFFFFF
##1C23711.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003173
Deuteranopia (green-blind)
#002970
Tritanopia (blue-blind)
#003846
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1c2371;
/* rgb */ color: rgb(28, 35, 113);
/* oklch */ color: oklch(30.8% 0.132 271.9);
Tailwind
colors: {
  custom: {
    50: '#665e9b',
    500: '#1c2371',
    950: '#000000',
  },
}
SCSS
$custom: #1c2371;
$custom-light: #665e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2371",
  "rgb": {
    "r": 28,
    "g": 35,
    "b": 113
  },
  "hsl": {
    "h": 235.059,
    "s": 60.284,
    "l": 27.647
  },
  "oklch": {
    "l": 0.30828,
    "c": 0.13243,
    "h": 271.9
  },
  "luminance": 0.02641
}

Semantic roles & 50–950 ramp

primary
#1C2371
secondary
#A69D43
accent
#D644E3
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1C2371

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

Preview Lab → · Contrast checker → · Palette generator →

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