#1C2571#1C2571

#1C2571 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.2% C 0.130 H 271.3°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#1C2571
RGBrgb(28, 37, 113)
HSLhsl(234, 60%, 28%)
HSVhsv(234, 75%, 44%)
CMYKcmyk(75.2%, 67.3%, 0%, 55.7%)
CIE-LABlab(19.06, 24.51, -44.94)
CIE-LCHlch(19.06, 51.19, 298.60°)
OKLaboklab(31.21% 0.0029 -0.1299)
OKLCHoklch(31.21% 0.13 271.3)
XYZxyz(4.1201, 2.7618, 15.9355)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2571 #71681C
analogous
#1C4F71 #1C2571 #3D1C71
triadic
#1C2571 #711C25 #25711C
tetradic
#1C2571 #711C4F #71681C #1C713D
square
#1C2571 #711C4F #71681C #1C713D
split-complementary
#1C2571 #713D1C #4F711C
monochromatic
#060819 #101540 #1C2571 #2835A2 #3949CE

Accessibility & contrast

On white

13.53
#1C2571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1C2571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2571
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2571#FFFFFF#000000##FFFFFF
##1C25711.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003273
Deuteranopia (green-blind)
#002A70
Tritanopia (blue-blind)
#003947
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1c2571;
/* rgb */ color: rgb(28, 37, 113);
/* oklch */ color: oklch(31.2% 0.130 271.3);
Tailwind
colors: {
  custom: {
    50: '#665f9b',
    500: '#1c2571',
    950: '#000000',
  },
}
SCSS
$custom: #1c2571;
$custom-light: #665f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2571",
  "rgb": {
    "r": 28,
    "g": 37,
    "b": 113
  },
  "hsl": {
    "h": 233.647,
    "s": 60.284,
    "l": 27.647
  },
  "oklch": {
    "l": 0.31209,
    "c": 0.12989,
    "h": 271.3
  },
  "luminance": 0.02762
}

Semantic roles & 50–950 ramp

primary
#1C2571
secondary
#A69B43
accent
#D344E3
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1C2571

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

Preview Lab → · Contrast checker → · Palette generator →

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