#1C417E#1C417E

#1C417E is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.4% C 0.112 H 259.9°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#1C417E
RGBrgb(28, 65, 126)
HSLhsl(217, 64%, 30%)
HSVhsv(217, 78%, 49%)
CMYKcmyk(77.8%, 48.4%, 0%, 50.6%)
CIE-LABlab(28.20, 10.03, -38.38)
CIE-LCHlch(28.20, 39.67, 284.64°)
OKLaboklab(38.42% -0.0196 -0.1101)
OKLCHoklch(38.42% 0.112 259.9)
XYZxyz(6.1337, 5.5331, 20.4794)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C417E #7E591C
analogous
#1C727E #1C417E #281C7E
triadic
#1C417E #7E1C41 #417E1C
tetradic
#1C417E #7E1C72 #7E591C #1C7E28
square
#1C417E #7E1C72 #7E591C #1C7E28
split-complementary
#1C417E #7E281C #727E1C
monochromatic
#060D1A #11274C #1C417E #275BB0 #4078D5

Accessibility & contrast

On white

9.97
#1C417E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#1C417E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C417E
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C417E#FFFFFF#000000##FFFFFF
##1C417E1.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204780
Deuteranopia (green-blind)
#073E7D
Tritanopia (blue-blind)
#004F59
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1c417e;
/* rgb */ color: rgb(28, 65, 126);
/* oklch */ color: oklch(38.4% 0.112 259.9);
Tailwind
colors: {
  custom: {
    50: '#6775a4',
    500: '#1c417e',
    950: '#000000',
  },
}
SCSS
$custom: #1c417e;
$custom-light: #6775a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1c417e",
  "rgb": {
    "r": 28,
    "g": 65,
    "b": 126
  },
  "hsl": {
    "h": 217.347,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.38423,
    "c": 0.11184,
    "h": 259.9
  },
  "luminance": 0.05534
}

Semantic roles & 50–950 ramp

primary
#1C417E
secondary
#B28844
accent
#A841E7
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1C417E

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

Preview Lab → · Contrast checker → · Palette generator →

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