#1C40A0#1C40A0

#1C40A0 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.0% C 0.161 H 264.5°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#1C40A0
RGBrgb(28, 64, 160)
HSLhsl(224, 70%, 37%)
HSVhsv(224, 83%, 63%)
CMYKcmyk(82.5%, 60%, 0%, 37.3%)
CIE-LABlab(30.52, 24.42, -55.53)
CIE-LCHlch(30.52, 60.66, 293.74°)
OKLaboklab(41.01% -0.0154 -0.1605)
OKLCHoklch(41.01% 0.161 264.5)
XYZxyz(8.6552, 6.4507, 34.0398)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C40A0 #A07C1C
analogous
#1C82A0 #1C40A0 #3A1CA0
triadic
#1C40A0 #A01C40 #40A01C
tetradic
#1C40A0 #A01C82 #A07C1C #1CA03A
square
#1C40A0 #A01C82 #A07C1C #1CA03A
split-complementary
#1C40A0 #A03A1C #82A01C
monochromatic
#0A1638 #132B6C #1C40A0 #2555D4 #557BE1

Accessibility & contrast

On white

9.17
#1C40A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#1C40A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C40A0
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C40A0#FFFFFF#000000##FFFFFF
##1C40A01.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA3
Deuteranopia (green-blind)
#00429E
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1c40a0;
/* rgb */ color: rgb(28, 64, 160);
/* oklch */ color: oklch(41.0% 0.161 264.5);
Tailwind
colors: {
  custom: {
    50: '#7074bd',
    500: '#1c40a0',
    950: '#000000',
  },
}
SCSS
$custom: #1c40a0;
$custom-light: #7074bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1c40a0",
  "rgb": {
    "r": 28,
    "g": 64,
    "b": 160
  },
  "hsl": {
    "h": 223.636,
    "s": 70.213,
    "l": 36.863
  },
  "oklch": {
    "l": 0.41005,
    "c": 0.16128,
    "h": 264.5
  },
  "luminance": 0.06452
}

Semantic roles & 50–950 ramp

primary
#1C40A0
secondary
#C4A653
accent
#BC3BED
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1C40A0

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

Preview Lab → · Contrast checker → · Palette generator →

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