#1C408B#1C408B

#1C408B is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.2% C 0.132 H 262.6°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#1C408B
RGBrgb(28, 64, 139)
HSLhsl(221, 66%, 33%)
HSVhsv(221, 80%, 55%)
CMYKcmyk(79.9%, 54%, 0%, 45.5%)
CIE-LABlab(28.84, 16.00, -45.43)
CIE-LCHlch(28.84, 48.17, 289.41°)
OKLaboklab(39.21% -0.0169 -0.1309)
OKLCHoklch(39.21% 0.132 262.6)
XYZxyz(6.9708, 5.7769, 25.1688)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C408B #8B671C
analogous
#1C778B #1C408B #301C8B
triadic
#1C408B #8B1C40 #408B1C
tetradic
#1C408B #8B1C77 #8B671C #1C8B30
square
#1C408B #8B1C77 #8B671C #1C8B30
split-complementary
#1C408B #8B301C #778B1C
monochromatic
#071125 #122958 #1C408B #2657BE #4777DA

Accessibility & contrast

On white

9.74
#1C408B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C408B
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C408B#FFFFFF#000000##FFFFFF
##1C408B1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09498E
Deuteranopia (green-blind)
#003F8A
Tritanopia (blue-blind)
#00525F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1c408b;
/* rgb */ color: rgb(28, 64, 139);
/* oklch */ color: oklch(39.2% 0.132 262.6);
Tailwind
colors: {
  custom: {
    50: '#6b74ad',
    500: '#1c408b',
    950: '#000000',
  },
}
SCSS
$custom: #1c408b;
$custom-light: #6b74ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1c408b",
  "rgb": {
    "r": 28,
    "g": 64,
    "b": 139
  },
  "hsl": {
    "h": 220.541,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.39211,
    "c": 0.13196,
    "h": 262.6
  },
  "luminance": 0.05778
}

Semantic roles & 50–950 ramp

primary
#1C408B
secondary
#BC9647
accent
#B23EE9
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #1C408B

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

Preview Lab → · Contrast checker → · Palette generator →

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