#1C408D#1C408D

#1C408D is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.4% C 0.135 H 262.9°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#1C408D
RGBrgb(28, 64, 141)
HSLhsl(221, 67%, 33%)
HSVhsv(221, 80%, 55%)
CMYKcmyk(80.1%, 54.6%, 0%, 44.7%)
CIE-LABlab(28.99, 16.82, -46.42)
CIE-LCHlch(28.99, 49.37, 289.91°)
OKLaboklab(39.38% -0.0167 -0.1338)
OKLCHoklch(39.38% 0.135 262.9)
XYZxyz(7.1183, 5.8359, 25.9454)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C408D #8D691C
analogous
#1C788D #1C408D #301C8D
triadic
#1C408D #8D1C40 #408D1C
tetradic
#1C408D #8D1C78 #8D691C #1C8D30
square
#1C408D #8D1C78 #8D691C #1C8D30
split-complementary
#1C408D #8D301C #788D1C
monochromatic
#081227 #12295A #1C408D #2657C0 #4977DB

Accessibility & contrast

On white

9.69
#1C408D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C408D
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C408D#FFFFFF#000000##FFFFFF
##1C408D1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044A90
Deuteranopia (green-blind)
#003F8B
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1c408d;
/* rgb */ color: rgb(28, 64, 141);
/* oklch */ color: oklch(39.4% 0.135 262.9);
Tailwind
colors: {
  custom: {
    50: '#6b74af',
    500: '#1c408d',
    950: '#000000',
  },
}
SCSS
$custom: #1c408d;
$custom-light: #6b74af;
$custom-dark: #000000;
JSON
{
  "hex": "#1c408d",
  "rgb": {
    "r": 28,
    "g": 64,
    "b": 141
  },
  "hsl": {
    "h": 220.885,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.39375,
    "c": 0.13482,
    "h": 262.9
  },
  "luminance": 0.05837
}

Semantic roles & 50–950 ramp

primary
#1C408D
secondary
#BD9848
accent
#B33EEA
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #1C408D

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

Preview Lab → · Contrast checker → · Palette generator →

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