#1C418A#1C418A

#1C418A is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.4% C 0.129 H 262.1°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#1C418A
RGBrgb(28, 65, 138)
HSLhsl(220, 66%, 33%)
HSVhsv(220, 80%, 54%)
CMYKcmyk(79.7%, 52.9%, 0%, 45.9%)
CIE-LABlab(29.06, 14.91, -44.46)
CIE-LCHlch(29.06, 46.89, 288.54°)
OKLaboklab(39.35% -0.0178 -0.128)
OKLCHoklch(39.35% 0.129 262.1)
XYZxyz(6.9550, 5.8616, 24.8047)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C418A #8A651C
analogous
#1C788A #1C418A #2E1C8A
triadic
#1C418A #8A1C41 #418A1C
tetradic
#1C418A #8A1C78 #8A651C #1C8A2E
square
#1C418A #8A1C78 #8A651C #1C8A2E
split-complementary
#1C418A #8A2E1C #788A1C
monochromatic
#071124 #122957 #1C418A #2659BD #4778DA

Accessibility & contrast

On white

9.67
#1C418A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C418A
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C418A#FFFFFF#000000##FFFFFF
##1C418A1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104A8D
Deuteranopia (green-blind)
#004089
Tritanopia (blue-blind)
#00535F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1c418a;
/* rgb */ color: rgb(28, 65, 138);
/* oklch */ color: oklch(39.4% 0.129 262.1);
Tailwind
colors: {
  custom: {
    50: '#6a75ad',
    500: '#1c418a',
    950: '#000000',
  },
}
SCSS
$custom: #1c418a;
$custom-light: #6a75ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1c418a",
  "rgb": {
    "r": 28,
    "g": 65,
    "b": 138
  },
  "hsl": {
    "h": 219.818,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.39354,
    "c": 0.12923,
    "h": 262.1
  },
  "luminance": 0.05862
}

Semantic roles & 50–950 ramp

primary
#1C418A
secondary
#BB9446
accent
#B03FE9
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1C418A

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

Preview Lab → · Contrast checker → · Palette generator →

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