#1C417C#1C417C

#1C417C is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.3% C 0.109 H 259.4°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#1C417C
RGBrgb(28, 65, 124)
HSLhsl(217, 63%, 30%)
HSVhsv(217, 77%, 49%)
CMYKcmyk(77.4%, 47.6%, 0%, 51.4%)
CIE-LABlab(28.07, 9.21, -37.35)
CIE-LCHlch(28.07, 38.47, 283.86°)
OKLaboklab(38.27% -0.02 -0.1071)
OKLCHoklch(38.27% 0.109 259.4)
XYZxyz(6.0060, 5.4820, 19.8065)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C417C #7C571C
analogous
#1C717C #1C417C #271C7C
triadic
#1C417C #7C1C41 #417C1C
tetradic
#1C417C #7C1C71 #7C571C #1C7C27
square
#1C417C #7C1C71 #7C571C #1C7C27
split-complementary
#1C417C #7C271C #717C1C
monochromatic
#060D19 #11274A #1C417C #275BAE #3F78D4

Accessibility & contrast

On white

10.02
#1C417C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#1C417C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C417C
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C417C#FFFFFF#000000##FFFFFF
##1C417C1.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22477E
Deuteranopia (green-blind)
#0C3E7B
Tritanopia (blue-blind)
#004F58
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1c417c;
/* rgb */ color: rgb(28, 65, 124);
/* oklch */ color: oklch(38.3% 0.109 259.4);
Tailwind
colors: {
  custom: {
    50: '#6775a2',
    500: '#1c417c',
    950: '#000000',
  },
}
SCSS
$custom: #1c417c;
$custom-light: #6775a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1c417c",
  "rgb": {
    "r": 28,
    "g": 65,
    "b": 124
  },
  "hsl": {
    "h": 216.875,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.38274,
    "c": 0.10892,
    "h": 259.4
  },
  "luminance": 0.05483
}

Semantic roles & 50–950 ramp

primary
#1C417C
secondary
#B08644
accent
#A742E6
background
#F6F7FA
surface
#EBEDF3
border
#C6C8CD
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1C417C

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

Preview Lab → · Contrast checker → · Palette generator →

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