#1C408E#1C408E

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

Color values

HEX#1C408E
RGBrgb(28, 64, 142)
HSLhsl(221, 67%, 33%)
HSVhsv(221, 80%, 56%)
CMYKcmyk(80.3%, 54.9%, 0%, 44.3%)
CIE-LABlab(29.07, 17.22, -46.91)
CIE-LCHlch(29.07, 49.97, 290.16°)
OKLaboklab(39.46% -0.0166 -0.1352)
OKLCHoklch(39.46% 0.136 263)
XYZxyz(7.1930, 5.8658, 26.3391)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C408E #8E6A1C
analogous
#1C798E #1C408E #311C8E
triadic
#1C408E #8E1C40 #408E1C
tetradic
#1C408E #8E1C79 #8E6A1C #1C8E31
square
#1C408E #8E1C79 #8E6A1C #1C8E31
split-complementary
#1C408E #8E311C #798E1C
monochromatic
#081228 #12295B #1C408E #2657C1 #4977DB

Accessibility & contrast

On white

9.66
#1C408E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#1C408E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C408E
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C408E#FFFFFF#000000##FFFFFF
##1C408E1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014A91
Deuteranopia (green-blind)
#00408C
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1c408e;
/* rgb */ color: rgb(28, 64, 142);
/* oklch */ color: oklch(39.5% 0.136 263.0);
Tailwind
colors: {
  custom: {
    50: '#6b74b0',
    500: '#1c408e',
    950: '#000000',
  },
}
SCSS
$custom: #1c408e;
$custom-light: #6b74b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1c408e",
  "rgb": {
    "r": 28,
    "g": 64,
    "b": 142
  },
  "hsl": {
    "h": 221.053,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.39458,
    "c": 0.13624,
    "h": 263
  },
  "luminance": 0.05867
}

Semantic roles & 50–950 ramp

primary
#1C408E
secondary
#BD9849
accent
#B43EEA
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #1C408E

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

Preview Lab → · Contrast checker → · Palette generator →

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