#1C2271#1C2271

#1C2271 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.6% C 0.134 H 272.2°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#1C2271
RGBrgb(28, 34, 113)
HSLhsl(236, 60%, 28%)
HSVhsv(236, 75%, 44%)
CMYKcmyk(75.2%, 69.9%, 0%, 55.7%)
CIE-LABlab(18.29, 26.56, -46.21)
CIE-LCHlch(18.29, 53.30, 299.89°)
OKLaboklab(30.64% 0.0051 -0.1336)
OKLCHoklch(30.64% 0.134 272.2)
XYZxyz(4.0305, 2.5828, 15.9057)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2271 #716B1C
analogous
#1C4C71 #1C2271 #411C71
triadic
#1C2271 #711C22 #22711C
tetradic
#1C2271 #711C4C #716B1C #1C7141
square
#1C2271 #711C4C #716B1C #1C7141
split-complementary
#1C2271 #71411C #4C711C
monochromatic
#060719 #101340 #1C2271 #2831A2 #3944CE

Accessibility & contrast

On white

13.85
#1C2271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#1C2271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2271
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2271#FFFFFF#000000##FFFFFF
##1C22711.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c2271;
/* rgb */ color: rgb(28, 34, 113);
/* oklch */ color: oklch(30.6% 0.134 272.2);
Tailwind
colors: {
  custom: {
    50: '#665d9b',
    500: '#1c2271',
    950: '#000000',
  },
}
SCSS
$custom: #1c2271;
$custom-light: #665d9b;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2271",
  "rgb": {
    "r": 28,
    "g": 34,
    "b": 113
  },
  "hsl": {
    "h": 235.765,
    "s": 60.284,
    "l": 27.647
  },
  "oklch": {
    "l": 0.30643,
    "c": 0.13369,
    "h": 272.2
  },
  "luminance": 0.02583
}

Semantic roles & 50–950 ramp

primary
#1C2271
secondary
#A69F43
accent
#D844E3
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1C2271

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

Preview Lab → · Contrast checker → · Palette generator →

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