#1C418F#1C418F

#1C418F is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.8% C 0.136 H 262.7°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#1C418F
RGBrgb(28, 65, 143)
HSLhsl(221, 67%, 34%)
HSVhsv(221, 80%, 56%)
CMYKcmyk(80.4%, 54.5%, 0%, 43.9%)
CIE-LABlab(29.44, 16.93, -46.93)
CIE-LCHlch(29.44, 49.89, 289.84°)
OKLaboklab(39.76% -0.0172 -0.1353)
OKLCHoklch(39.76% 0.136 262.7)
XYZxyz(7.3253, 6.0098, 26.7552)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C418F #8F6A1C
analogous
#1C7A8F #1C418F #311C8F
triadic
#1C418F #8F1C41 #418F1C
tetradic
#1C418F #8F1C7A #8F6A1C #1C8F31
square
#1C418F #8F1C7A #8F6A1C #1C8F31
split-complementary
#1C418F #8F311C #7A8F1C
monochromatic
#081229 #122A5C #1C418F #2658C2 #4A79DC

Accessibility & contrast

On white

9.54
#1C418F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C418F
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C418F#FFFFFF#000000##FFFFFF
##1C418F1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044B92
Deuteranopia (green-blind)
#00408D
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1c418f;
/* rgb */ color: rgb(28, 65, 143);
/* oklch */ color: oklch(39.8% 0.136 262.7);
Tailwind
colors: {
  custom: {
    50: '#6c75b0',
    500: '#1c418f',
    950: '#000000',
  },
}
SCSS
$custom: #1c418f;
$custom-light: #6c75b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1c418f",
  "rgb": {
    "r": 28,
    "g": 65,
    "b": 143
  },
  "hsl": {
    "h": 220.696,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.39759,
    "c": 0.13636,
    "h": 262.7
  },
  "luminance": 0.06011
}

Semantic roles & 50–950 ramp

primary
#1C418F
secondary
#BE9849
accent
#B33EEA
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1C418F

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

Preview Lab → · Contrast checker → · Palette generator →

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