#1C408F#1C408F

#1C408F is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.5% C 0.138 H 263.1°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#1C408F
RGBrgb(28, 64, 143)
HSLhsl(221, 67%, 34%)
HSVhsv(221, 80%, 56%)
CMYKcmyk(80.4%, 55.2%, 0%, 43.9%)
CIE-LABlab(29.15, 17.62, -47.40)
CIE-LCHlch(29.15, 50.57, 290.40°)
OKLaboklab(39.54% -0.0165 -0.1367)
OKLCHoklch(39.54% 0.138 263.1)
XYZxyz(7.2684, 5.8960, 26.7362)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C408F #8F6B1C
analogous
#1C798F #1C408F #311C8F
triadic
#1C408F #8F1C40 #408F1C
tetradic
#1C408F #8F1C79 #8F6B1C #1C8F31
square
#1C408F #8F1C79 #8F6B1C #1C8F31
split-complementary
#1C408F #8F311C #798F1C
monochromatic
#081229 #12295C #1C408F #2657C2 #4A77DC

Accessibility & contrast

On white

9.64
#1C408F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#1C408F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C408F
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C408F#FFFFFF#000000##FFFFFF
##1C408F1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A92
Deuteranopia (green-blind)
#00408D
Tritanopia (blue-blind)
#005361
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1c408f;
/* rgb */ color: rgb(28, 64, 143);
/* oklch */ color: oklch(39.5% 0.138 263.1);
Tailwind
colors: {
  custom: {
    50: '#6c74b0',
    500: '#1c408f',
    950: '#000000',
  },
}
SCSS
$custom: #1c408f;
$custom-light: #6c74b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1c408f",
  "rgb": {
    "r": 28,
    "g": 64,
    "b": 143
  },
  "hsl": {
    "h": 221.217,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.3954,
    "c": 0.13766,
    "h": 263.1
  },
  "luminance": 0.05897
}

Semantic roles & 50–950 ramp

primary
#1C408F
secondary
#BE9949
accent
#B43EEA
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1C408F

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

Preview Lab → · Contrast checker → · Palette generator →

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