#1C418E#1C418E

#1C418E is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.7% C 0.135 H 262.6°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#1C418E
RGBrgb(28, 65, 142)
HSLhsl(221, 67%, 33%)
HSVhsv(221, 80%, 56%)
CMYKcmyk(80.3%, 54.2%, 0%, 44.3%)
CIE-LABlab(29.36, 16.53, -46.44)
CIE-LCHlch(29.36, 49.29, 289.59°)
OKLaboklab(39.68% -0.0173 -0.1338)
OKLCHoklch(39.68% 0.135 262.6)
XYZxyz(7.2499, 5.9796, 26.3580)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C418E #8E691C
analogous
#1C7A8E #1C418E #301C8E
triadic
#1C418E #8E1C41 #418E1C
tetradic
#1C418E #8E1C7A #8E691C #1C8E30
square
#1C418E #8E1C7A #8E691C #1C8E30
split-complementary
#1C418E #8E301C #7A8E1C
monochromatic
#081228 #122A5B #1C418E #2658C1 #4979DB

Accessibility & contrast

On white

9.56
#1C418E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#1C418E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C418E
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C418E#FFFFFF#000000##FFFFFF
##1C418E1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074B91
Deuteranopia (green-blind)
#00408C
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1c418e;
/* rgb */ color: rgb(28, 65, 142);
/* oklch */ color: oklch(39.7% 0.135 262.6);
Tailwind
colors: {
  custom: {
    50: '#6b75b0',
    500: '#1c418e',
    950: '#000000',
  },
}
SCSS
$custom: #1c418e;
$custom-light: #6b75b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1c418e",
  "rgb": {
    "r": 28,
    "g": 65,
    "b": 142
  },
  "hsl": {
    "h": 220.526,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.39677,
    "c": 0.13495,
    "h": 262.6
  },
  "luminance": 0.0598
}

Semantic roles & 50–950 ramp

primary
#1C418E
secondary
#BD9749
accent
#B23EEA
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #1C418E

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

Preview Lab → · Contrast checker → · Palette generator →

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