#1C417D#1C417D

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

Color values

HEX#1C417D
RGBrgb(28, 65, 125)
HSLhsl(217, 63%, 30%)
HSVhsv(217, 78%, 49%)
CMYKcmyk(77.6%, 48%, 0%, 51%)
CIE-LABlab(28.13, 9.62, -37.86)
CIE-LCHlch(28.13, 39.07, 284.25°)
OKLaboklab(38.35% -0.0198 -0.1086)
OKLCHoklch(38.35% 0.11 259.7)
XYZxyz(6.0695, 5.5075, 20.1412)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C417D #7D581C
analogous
#1C727D #1C417D #271C7D
triadic
#1C417D #7D1C41 #417D1C
tetradic
#1C417D #7D1C72 #7D581C #1C7D27
square
#1C417D #7D1C72 #7D581C #1C7D27
split-complementary
#1C417D #7D271C #727D1C
monochromatic
#060D19 #11274B #1C417D #275BAF #3F78D4

Accessibility & contrast

On white

9.99
#1C417D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C417D
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C417D#FFFFFF#000000##FFFFFF
##1C417D1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21477F
Deuteranopia (green-blind)
#0A3E7C
Tritanopia (blue-blind)
#004F59
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1c417d;
/* rgb */ color: rgb(28, 65, 125);
/* oklch */ color: oklch(38.3% 0.110 259.7);
Tailwind
colors: {
  custom: {
    50: '#6775a3',
    500: '#1c417d',
    950: '#000000',
  },
}
SCSS
$custom: #1c417d;
$custom-light: #6775a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1c417d",
  "rgb": {
    "r": 28,
    "g": 65,
    "b": 125
  },
  "hsl": {
    "h": 217.113,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.38348,
    "c": 0.11038,
    "h": 259.7
  },
  "luminance": 0.05508
}

Semantic roles & 50–950 ramp

primary
#1C417D
secondary
#B18744
accent
#A741E6
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1C417D

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

Preview Lab → · Contrast checker → · Palette generator →

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