#1C418C#1C418C

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

Color values

HEX#1C418C
RGBrgb(28, 65, 140)
HSLhsl(220, 67%, 33%)
HSVhsv(220, 80%, 55%)
CMYKcmyk(80%, 53.6%, 0%, 45.1%)
CIE-LABlab(29.21, 15.72, -45.45)
CIE-LCHlch(29.21, 48.09, 289.08°)
OKLaboklab(39.52% -0.0176 -0.1309)
OKLCHoklch(39.52% 0.132 262.4)
XYZxyz(7.1011, 5.9201, 25.5743)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C418C #8C671C
analogous
#1C798C #1C418C #2F1C8C
triadic
#1C418C #8C1C41 #418C1C
tetradic
#1C418C #8C1C79 #8C671C #1C8C2F
square
#1C418C #8C1C79 #8C671C #1C8C2F
split-complementary
#1C418C #8C2F1C #798C1C
monochromatic
#081226 #122959 #1C418C #2659BF #4878DA

Accessibility & contrast

On white

9.61
#1C418C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C418C
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C418C#FFFFFF#000000##FFFFFF
##1C418C1.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4A8F
Deuteranopia (green-blind)
#00408B
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1c418c;
/* rgb */ color: rgb(28, 65, 140);
/* oklch */ color: oklch(39.5% 0.132 262.4);
Tailwind
colors: {
  custom: {
    50: '#6b75ae',
    500: '#1c418c',
    950: '#000000',
  },
}
SCSS
$custom: #1c418c;
$custom-light: #6b75ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1c418c",
  "rgb": {
    "r": 28,
    "g": 65,
    "b": 140
  },
  "hsl": {
    "h": 220.179,
    "s": 66.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.39515,
    "c": 0.13209,
    "h": 262.4
  },
  "luminance": 0.05921
}

Semantic roles & 50–950 ramp

primary
#1C418C
secondary
#BC9648
accent
#B13EEA
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #1C418C

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

Preview Lab → · Contrast checker → · Palette generator →

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