#1C42A1#1C42A1

#1C42A1 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.5% C 0.160 H 264.1°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#1C42A1
RGBrgb(28, 66, 161)
HSLhsl(223, 70%, 37%)
HSVhsv(223, 83%, 63%)
CMYKcmyk(82.6%, 59%, 0%, 36.9%)
CIE-LABlab(31.15, 23.46, -55.11)
CIE-LCHlch(31.15, 59.89, 293.06°)
OKLaboklab(41.5% -0.0166 -0.1593)
OKLCHoklch(41.5% 0.16 264.1)
XYZxyz(8.8578, 6.7154, 34.5407)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C42A1 #A17B1C
analogous
#1C85A1 #1C42A1 #391CA1
triadic
#1C42A1 #A11C42 #42A11C
tetradic
#1C42A1 #A11C85 #A17B1C #1CA139
square
#1C42A1 #A11C85 #A17B1C #1CA139
split-complementary
#1C42A1 #A1391C #85A11C
monochromatic
#0A1739 #132D6D #1C42A1 #2557D5 #567EE2

Accessibility & contrast

On white

8.96
#1C42A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#1C42A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C42A1
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C42A1#FFFFFF#000000##FFFFFF
##1C42A11.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A4
Deuteranopia (green-blind)
#00439F
Tritanopia (blue-blind)
#005A6B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1c42a1;
/* rgb */ color: rgb(28, 66, 161);
/* oklch */ color: oklch(41.5% 0.160 264.1);
Tailwind
colors: {
  custom: {
    50: '#7075be',
    500: '#1c42a1',
    950: '#000000',
  },
}
SCSS
$custom: #1c42a1;
$custom-light: #7075be;
$custom-dark: #000000;
JSON
{
  "hex": "#1c42a1",
  "rgb": {
    "r": 28,
    "g": 66,
    "b": 161
  },
  "hsl": {
    "h": 222.857,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.41502,
    "c": 0.16015,
    "h": 264.1
  },
  "luminance": 0.06717
}

Semantic roles & 50–950 ramp

primary
#1C42A1
secondary
#C5A554
accent
#BA3BED
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1C42A1

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

Preview Lab → · Contrast checker → · Palette generator →

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