#1C417B#1C417B

#1C417B is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.2% C 0.107 H 259.2°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#1C417B
RGBrgb(28, 65, 123)
HSLhsl(217, 63%, 30%)
HSVhsv(217, 77%, 48%)
CMYKcmyk(77.2%, 47.2%, 0%, 51.8%)
CIE-LABlab(28.00, 8.80, -36.83)
CIE-LCHlch(28.00, 37.86, 283.45°)
OKLaboklab(38.2% -0.0202 -0.1055)
OKLCHoklch(38.2% 0.107 259.2)
XYZxyz(5.9430, 5.4569, 19.4751)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C417B #7B561C
analogous
#1C707B #1C417B #271C7B
triadic
#1C417B #7B1C41 #417B1C
tetradic
#1C417B #7B1C70 #7B561C #1C7B27
square
#1C417B #7B1C70 #7B561C #1C7B27
split-complementary
#1C417B #7B271C #707B1C
monochromatic
#060D19 #112749 #1C417B #275BAD #3E78D3

Accessibility & contrast

On white

10.04
#1C417B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C417B
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C417B#FFFFFF#000000##FFFFFF
##1C417B1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23477D
Deuteranopia (green-blind)
#0F3E7A
Tritanopia (blue-blind)
#004F58
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1c417b;
/* rgb */ color: rgb(28, 65, 123);
/* oklch */ color: oklch(38.2% 0.107 259.2);
Tailwind
colors: {
  custom: {
    50: '#6775a1',
    500: '#1c417b',
    950: '#000000',
  },
}
SCSS
$custom: #1c417b;
$custom-light: #6775a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1c417b",
  "rgb": {
    "r": 28,
    "g": 65,
    "b": 123
  },
  "hsl": {
    "h": 216.632,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.382,
    "c": 0.10745,
    "h": 259.2
  },
  "luminance": 0.05458
}

Semantic roles & 50–950 ramp

primary
#1C417B
secondary
#AF8544
accent
#A642E6
background
#F6F7FA
surface
#EBEDF3
border
#C6C8CD
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1C417B

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

Preview Lab → · Contrast checker → · Palette generator →

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