#1C417F#1C417F

#1C417F is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.5% C 0.113 H 260.1°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#1C417F
RGBrgb(28, 65, 127)
HSLhsl(218, 64%, 30%)
HSVhsv(218, 78%, 50%)
CMYKcmyk(78%, 48.8%, 0%, 50.2%)
CIE-LABlab(28.27, 10.43, -38.89)
CIE-LCHlch(28.27, 40.27, 285.02°)
OKLaboklab(38.5% -0.0194 -0.1116)
OKLCHoklch(38.5% 0.113 260.1)
XYZxyz(6.1986, 5.5591, 20.8209)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C417F #7F5A1C
analogous
#1C727F #1C417F #291C7F
triadic
#1C417F #7F1C41 #417F1C
tetradic
#1C417F #7F1C72 #7F5A1C #1C7F29
square
#1C417F #7F1C72 #7F5A1C #1C7F29
split-complementary
#1C417F #7F291C #727F1C
monochromatic
#060E1B #11274D #1C417F #275BB1 #4078D5

Accessibility & contrast

On white

9.94
#1C417F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C417F
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C417F#FFFFFF#000000##FFFFFF
##1C417F1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4881
Deuteranopia (green-blind)
#053E7E
Tritanopia (blue-blind)
#00505A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1c417f;
/* rgb */ color: rgb(28, 65, 127);
/* oklch */ color: oklch(38.5% 0.113 260.1);
Tailwind
colors: {
  custom: {
    50: '#6875a4',
    500: '#1c417f',
    950: '#000000',
  },
}
SCSS
$custom: #1c417f;
$custom-light: #6875a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1c417f",
  "rgb": {
    "r": 28,
    "g": 65,
    "b": 127
  },
  "hsl": {
    "h": 217.576,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.38498,
    "c": 0.1133,
    "h": 260.1
  },
  "luminance": 0.0556
}

Semantic roles & 50–950 ramp

primary
#1C417F
secondary
#B38944
accent
#A941E7
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1C417F

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

Preview Lab → · Contrast checker → · Palette generator →

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