#1C41A8#1C41A8

#1C41A8 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.9% C 0.171 H 264.7°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#1C41A8
RGBrgb(28, 65, 168)
HSLhsl(224, 71%, 38%)
HSVhsv(224, 83%, 66%)
CMYKcmyk(83.3%, 61.3%, 0%, 34.1%)
CIE-LABlab(31.47, 26.89, -58.80)
CIE-LCHlch(31.47, 64.65, 294.58°)
OKLaboklab(41.93% -0.0157 -0.1701)
OKLCHoklch(41.93% 0.171 264.7)
XYZxyz(9.4346, 6.8535, 37.8638)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C41A8 #A8831C
analogous
#1C87A8 #1C41A8 #3D1CA8
triadic
#1C41A8 #A81C41 #41A81C
tetradic
#1C41A8 #A81C87 #A8831C #1CA83D
square
#1C41A8 #A81C87 #A8831C #1CA83D
split-complementary
#1C41A8 #A83D1C #87A81C
monochromatic
#0B183F #132D74 #1C41A8 #2656DB #5B7FE4

Accessibility & contrast

On white

8.86
#1C41A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#1C41A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C41A8
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C41A8#FFFFFF#000000##FFFFFF
##1C41A81.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AB
Deuteranopia (green-blind)
#0044A6
Tritanopia (blue-blind)
#005C6E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1c41a8;
/* rgb */ color: rgb(28, 65, 168);
/* oklch */ color: oklch(41.9% 0.171 264.7);
Tailwind
colors: {
  custom: {
    50: '#7275c3',
    500: '#1c41a8',
    950: '#000000',
  },
}
SCSS
$custom: #1c41a8;
$custom-light: #7275c3;
$custom-dark: #000000;
JSON
{
  "hex": "#1c41a8",
  "rgb": {
    "r": 28,
    "g": 65,
    "b": 168
  },
  "hsl": {
    "h": 224.143,
    "s": 71.429,
    "l": 38.431
  },
  "oklch": {
    "l": 0.41925,
    "c": 0.17085,
    "h": 264.7
  },
  "luminance": 0.06855
}

Semantic roles & 50–950 ramp

primary
#1C41A8
secondary
#C7AA58
accent
#BE3AEE
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090813
muted
#7B7B82

Preview Lab

Preview with #1C41A8

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

Preview Lab → · Contrast checker → · Palette generator →

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