#1C427F#1C427F

#1C427F is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.7% C 0.112 H 259.5°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#1C427F
RGBrgb(28, 66, 127)
HSLhsl(217, 64%, 30%)
HSVhsv(217, 78%, 50%)
CMYKcmyk(78%, 48%, 0%, 50.2%)
CIE-LABlab(28.58, 9.74, -38.40)
CIE-LCHlch(28.58, 39.62, 284.23°)
OKLaboklab(38.73% -0.0203 -0.1102)
OKLCHoklch(38.73% 0.112 259.5)
XYZxyz(6.2565, 5.6749, 20.8402)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C427F #7F591C
analogous
#1C737F #1C427F #281C7F
triadic
#1C427F #7F1C42 #427F1C
tetradic
#1C427F #7F1C73 #7F591C #1C7F28
square
#1C427F #7F1C73 #7F591C #1C7F28
split-complementary
#1C427F #7F281C #737F1C
monochromatic
#060E1B #11284D #1C427F #275CB1 #4079D5

Accessibility & contrast

On white

9.84
#1C427F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#1C427F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C427F
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C427F#FFFFFF#000000##FFFFFF
##1C427F1.009.842.149.84
#FFFFFF9.841.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224881
Deuteranopia (green-blind)
#093F7E
Tritanopia (blue-blind)
#00505A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1c427f;
/* rgb */ color: rgb(28, 66, 127);
/* oklch */ color: oklch(38.7% 0.112 259.5);
Tailwind
colors: {
  custom: {
    50: '#6875a4',
    500: '#1c427f',
    950: '#000000',
  },
}
SCSS
$custom: #1c427f;
$custom-light: #6875a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1c427f",
  "rgb": {
    "r": 28,
    "g": 66,
    "b": 127
  },
  "hsl": {
    "h": 216.97,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.38733,
    "c": 0.11202,
    "h": 259.5
  },
  "luminance": 0.05676
}

Semantic roles & 50–950 ramp

primary
#1C427F
secondary
#B38844
accent
#A741E7
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1C427F

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

Preview Lab → · Contrast checker → · Palette generator →

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