#1C417A#1C417A

#1C417A is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.1% C 0.106 H 258.9°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#1C417A
RGBrgb(28, 65, 122)
HSLhsl(216, 63%, 29%)
HSVhsv(216, 77%, 48%)
CMYKcmyk(77%, 46.7%, 0%, 52.2%)
CIE-LABlab(27.93, 8.40, -36.31)
CIE-LCHlch(27.93, 37.26, 283.02°)
OKLaboklab(38.13% -0.0204 -0.104)
OKLCHoklch(38.13% 0.106 258.9)
XYZxyz(5.8808, 5.4320, 19.1471)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C417A #7A551C
analogous
#1C707A #1C417A #261C7A
triadic
#1C417A #7A1C41 #417A1C
tetradic
#1C417A #7A1C70 #7A551C #1C7A26
square
#1C417A #7A1C70 #7A551C #1C7A26
split-complementary
#1C417A #7A261C #707A1C
monochromatic
#060D19 #112648 #1C417A #275CAC #3E78D3

Accessibility & contrast

On white

10.06
#1C417A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#1C417A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C417A
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C417A#FFFFFF#000000##FFFFFF
##1C417A1.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24477C
Deuteranopia (green-blind)
#113E79
Tritanopia (blue-blind)
#004E57
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1c417a;
/* rgb */ color: rgb(28, 65, 122);
/* oklch */ color: oklch(38.1% 0.106 258.9);
Tailwind
colors: {
  custom: {
    50: '#6675a1',
    500: '#1c417a',
    950: '#000000',
  },
}
SCSS
$custom: #1c417a;
$custom-light: #6675a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1c417a",
  "rgb": {
    "r": 28,
    "g": 65,
    "b": 122
  },
  "hsl": {
    "h": 216.383,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.38126,
    "c": 0.10598,
    "h": 258.9
  },
  "luminance": 0.05433
}

Semantic roles & 50–950 ramp

primary
#1C417A
secondary
#AE8444
accent
#A542E6
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080F
muted
#7A7B7E

Preview Lab

Preview with #1C417A

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

Preview Lab → · Contrast checker → · Palette generator →

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