#1C407E#1C407E

#1C407E is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.2% C 0.113 H 260.5°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#1C407E
RGBrgb(28, 64, 126)
HSLhsl(218, 64%, 30%)
HSVhsv(218, 78%, 49%)
CMYKcmyk(77.8%, 49.2%, 0%, 50.6%)
CIE-LABlab(27.90, 10.72, -38.87)
CIE-LCHlch(27.90, 40.32, 285.42°)
OKLaboklab(38.19% -0.0187 -0.1116)
OKLCHoklch(38.19% 0.113 260.5)
XYZxyz(6.0768, 5.4193, 20.4604)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C407E #7E5A1C
analogous
#1C717E #1C407E #291C7E
triadic
#1C407E #7E1C40 #407E1C
tetradic
#1C407E #7E1C71 #7E5A1C #1C7E29
square
#1C407E #7E1C71 #7E5A1C #1C7E29
split-complementary
#1C407E #7E291C #717E1C
monochromatic
#060D1A #11274C #1C407E #2759B0 #4076D5

Accessibility & contrast

On white

10.08
#1C407E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#1C407E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C407E
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C407E#FFFFFF#000000##FFFFFF
##1C407E1.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4780
Deuteranopia (green-blind)
#033E7D
Tritanopia (blue-blind)
#004F59
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1c407e;
/* rgb */ color: rgb(28, 64, 126);
/* oklch */ color: oklch(38.2% 0.113 260.5);
Tailwind
colors: {
  custom: {
    50: '#6774a4',
    500: '#1c407e',
    950: '#000000',
  },
}
SCSS
$custom: #1c407e;
$custom-light: #6774a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1c407e",
  "rgb": {
    "r": 28,
    "g": 64,
    "b": 126
  },
  "hsl": {
    "h": 217.959,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.38188,
    "c": 0.11313,
    "h": 260.5
  },
  "luminance": 0.0542
}

Semantic roles & 50–950 ramp

primary
#1C407E
secondary
#B28944
accent
#AA41E7
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1C407E

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

Preview Lab → · Contrast checker → · Palette generator →

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