#1C408A#1C408A

#1C408A is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.1% C 0.131 H 262.5°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#1C408A
RGBrgb(28, 64, 138)
HSLhsl(220, 66%, 33%)
HSVhsv(220, 80%, 54%)
CMYKcmyk(79.7%, 53.6%, 0%, 45.9%)
CIE-LABlab(28.77, 15.60, -44.93)
CIE-LCHlch(28.77, 47.56, 289.14°)
OKLaboklab(39.13% -0.017 -0.1294)
OKLCHoklch(39.13% 0.131 262.5)
XYZxyz(6.8981, 5.7479, 24.7857)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C408A #8A661C
analogous
#1C778A #1C408A #2F1C8A
triadic
#1C408A #8A1C40 #408A1C
tetradic
#1C408A #8A1C77 #8A661C #1C8A2F
square
#1C408A #8A1C77 #8A661C #1C8A2F
split-complementary
#1C408A #8A2F1C #778A1C
monochromatic
#071124 #122857 #1C408A #2658BD #4777DA

Accessibility & contrast

On white

9.77
#1C408A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#1C408A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C408A
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C408A#FFFFFF#000000##FFFFFF
##1C408A1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C498D
Deuteranopia (green-blind)
#003F89
Tritanopia (blue-blind)
#00525E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1c408a;
/* rgb */ color: rgb(28, 64, 138);
/* oklch */ color: oklch(39.1% 0.131 262.5);
Tailwind
colors: {
  custom: {
    50: '#6a74ad',
    500: '#1c408a',
    950: '#000000',
  },
}
SCSS
$custom: #1c408a;
$custom-light: #6a74ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1c408a",
  "rgb": {
    "r": 28,
    "g": 64,
    "b": 138
  },
  "hsl": {
    "h": 220.364,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.3913,
    "c": 0.13053,
    "h": 262.5
  },
  "luminance": 0.05749
}

Semantic roles & 50–950 ramp

primary
#1C408A
secondary
#BB9546
accent
#B13FE9
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #1C408A

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

Preview Lab → · Contrast checker → · Palette generator →

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