#1C407F#1C407F

#1C407F is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.3% C 0.115 H 260.7°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#1C407F
RGBrgb(28, 64, 127)
HSLhsl(218, 64%, 30%)
HSVhsv(218, 78%, 50%)
CMYKcmyk(78%, 49.6%, 0%, 50.2%)
CIE-LABlab(27.97, 11.13, -39.38)
CIE-LCHlch(27.97, 40.92, 285.78°)
OKLaboklab(38.26% -0.0185 -0.1131)
OKLCHoklch(38.26% 0.115 260.7)
XYZxyz(6.1417, 5.4453, 20.8019)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C407F #7F5B1C
analogous
#1C717F #1C407F #2A1C7F
triadic
#1C407F #7F1C40 #407F1C
tetradic
#1C407F #7F1C71 #7F5B1C #1C7F2A
square
#1C407F #7F1C71 #7F5B1C #1C7F2A
split-complementary
#1C407F #7F2A1C #717F1C
monochromatic
#060D1B #11274D #1C407F #2759B1 #4076D5

Accessibility & contrast

On white

10.05
#1C407F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C407F
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C407F#FFFFFF#000000##FFFFFF
##1C407F1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4781
Deuteranopia (green-blind)
#003E7E
Tritanopia (blue-blind)
#004F59
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1c407f;
/* rgb */ color: rgb(28, 64, 127);
/* oklch */ color: oklch(38.3% 0.115 260.7);
Tailwind
colors: {
  custom: {
    50: '#6874a4',
    500: '#1c407f',
    950: '#000000',
  },
}
SCSS
$custom: #1c407f;
$custom-light: #6874a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1c407f",
  "rgb": {
    "r": 28,
    "g": 64,
    "b": 127
  },
  "hsl": {
    "h": 218.182,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.38264,
    "c": 0.11459,
    "h": 260.7
  },
  "luminance": 0.05446
}

Semantic roles & 50–950 ramp

primary
#1C407F
secondary
#B38A44
accent
#AB41E7
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1C407F

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

Preview Lab → · Contrast checker → · Palette generator →

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