#1C3AA1#1C3AA1

#1C3AA1 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.9% C 0.170 H 266.0°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#1C3AA1
RGBrgb(28, 58, 161)
HSLhsl(226, 70%, 37%)
HSVhsv(226, 83%, 63%)
CMYKcmyk(82.6%, 64%, 0%, 36.9%)
CIE-LABlab(29.02, 28.87, -58.59)
CIE-LCHlch(29.02, 65.32, 296.23°)
OKLaboklab(39.91% -0.0119 -0.1696)
OKLCHoklch(39.91% 0.17 266)
XYZxyz(8.4227, 5.8452, 34.3956)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C3AA1 #A1831C
analogous
#1C7DA1 #1C3AA1 #411CA1
triadic
#1C3AA1 #A11C3A #3AA11C
tetradic
#1C3AA1 #A11C7D #A1831C #1CA141
square
#1C3AA1 #A11C7D #A1831C #1CA141
split-complementary
#1C3AA1 #A1411C #7DA11C
monochromatic
#0A1439 #13276D #1C3AA1 #254DD5 #5675E2

Accessibility & contrast

On white

9.68
#1C3AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#1C3AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C3AA1
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C3AA1#FFFFFF#000000##FFFFFF
##1C3AA11.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA4
Deuteranopia (green-blind)
#003E9F
Tritanopia (blue-blind)
#005568
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1c3aa1;
/* rgb */ color: rgb(28, 58, 161);
/* oklch */ color: oklch(39.9% 0.170 266.0);
Tailwind
colors: {
  custom: {
    50: '#716fbe',
    500: '#1c3aa1',
    950: '#000000',
  },
}
SCSS
$custom: #1c3aa1;
$custom-light: #716fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#1c3aa1",
  "rgb": {
    "r": 28,
    "g": 58,
    "b": 161
  },
  "hsl": {
    "h": 226.466,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39914,
    "c": 0.17004,
    "h": 266
  },
  "luminance": 0.05846
}

Semantic roles & 50–950 ramp

primary
#1C3AA1
secondary
#C5AB54
accent
#C53BED
background
#F7F6FB
surface
#EDECF7
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #1C3AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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