#1C408C#1C408C

#1C408C is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.3% C 0.133 H 262.8°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#1C408C
RGBrgb(28, 64, 140)
HSLhsl(221, 67%, 33%)
HSVhsv(221, 80%, 55%)
CMYKcmyk(80%, 54.3%, 0%, 45.1%)
CIE-LABlab(28.92, 16.41, -45.92)
CIE-LCHlch(28.92, 48.77, 289.66°)
OKLaboklab(39.29% -0.0168 -0.1323)
OKLCHoklch(39.29% 0.133 262.8)
XYZxyz(7.0442, 5.8063, 25.5553)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C408C #8C681C
analogous
#1C788C #1C408C #301C8C
triadic
#1C408C #8C1C40 #408C1C
tetradic
#1C408C #8C1C78 #8C681C #1C8C30
square
#1C408C #8C1C78 #8C681C #1C8C30
split-complementary
#1C408C #8C301C #788C1C
monochromatic
#081126 #122959 #1C408C #2657BF #4877DA

Accessibility & contrast

On white

9.72
#1C408C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#1C408C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C408C
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C408C#FFFFFF#000000##FFFFFF
##1C408C1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074A8F
Deuteranopia (green-blind)
#003F8A
Tritanopia (blue-blind)
#00535F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1c408c;
/* rgb */ color: rgb(28, 64, 140);
/* oklch */ color: oklch(39.3% 0.133 262.8);
Tailwind
colors: {
  custom: {
    50: '#6b74ae',
    500: '#1c408c',
    950: '#000000',
  },
}
SCSS
$custom: #1c408c;
$custom-light: #6b74ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1c408c",
  "rgb": {
    "r": 28,
    "g": 64,
    "b": 140
  },
  "hsl": {
    "h": 220.714,
    "s": 66.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.39293,
    "c": 0.13339,
    "h": 262.8
  },
  "luminance": 0.05807
}

Semantic roles & 50–950 ramp

primary
#1C408C
secondary
#BC9748
accent
#B23EEA
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #1C408C

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

Preview Lab → · Contrast checker → · Palette generator →

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