#1C407D#1C407D

#1C407D is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.1% C 0.112 H 260.3°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#1C407D
RGBrgb(28, 64, 125)
HSLhsl(218, 63%, 30%)
HSVhsv(218, 78%, 49%)
CMYKcmyk(77.6%, 48.8%, 0%, 51%)
CIE-LABlab(27.83, 10.31, -38.35)
CIE-LCHlch(27.83, 39.72, 285.05°)
OKLaboklab(38.11% -0.0189 -0.1101)
OKLCHoklch(38.11% 0.112 260.3)
XYZxyz(6.0126, 5.3937, 20.1223)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C407D #7D591C
analogous
#1C717D #1C407D #281C7D
triadic
#1C407D #7D1C40 #407D1C
tetradic
#1C407D #7D1C71 #7D591C #1C7D28
square
#1C407D #7D1C71 #7D591C #1C7D28
split-complementary
#1C407D #7D281C #717D1C
monochromatic
#060D19 #11264B #1C407D #275AAF #3F77D4

Accessibility & contrast

On white

10.10
#1C407D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C407D
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C407D#FFFFFF#000000##FFFFFF
##1C407D1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F467F
Deuteranopia (green-blind)
#053E7C
Tritanopia (blue-blind)
#004E58
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1c407d;
/* rgb */ color: rgb(28, 64, 125);
/* oklch */ color: oklch(38.1% 0.112 260.3);
Tailwind
colors: {
  custom: {
    50: '#6774a3',
    500: '#1c407d',
    950: '#000000',
  },
}
SCSS
$custom: #1c407d;
$custom-light: #6774a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1c407d",
  "rgb": {
    "r": 28,
    "g": 64,
    "b": 125
  },
  "hsl": {
    "h": 217.732,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.38112,
    "c": 0.11167,
    "h": 260.3
  },
  "luminance": 0.05394
}

Semantic roles & 50–950 ramp

primary
#1C407D
secondary
#B18844
accent
#A941E6
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1C407D

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

Preview Lab → · Contrast checker → · Palette generator →

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