#1C4287#1C4287

#1C4287 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.3% C 0.124 H 261.1°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#1C4287
RGBrgb(28, 66, 135)
HSLhsl(219, 66%, 32%)
HSVhsv(219, 79%, 53%)
CMYKcmyk(79.3%, 51.1%, 0%, 47.1%)
CIE-LABlab(29.14, 13.00, -42.48)
CIE-LCHlch(29.14, 44.42, 287.01°)
OKLaboklab(39.34% -0.019 -0.1221)
OKLCHoklch(39.34% 0.124 261.1)
XYZxyz(6.7987, 5.8918, 23.6959)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4287 #87611C
analogous
#1C7787 #1C4287 #2C1C87
triadic
#1C4287 #871C42 #42871C
tetradic
#1C4287 #871C77 #87611C #1C872C
square
#1C4287 #871C77 #87611C #1C872C
split-complementary
#1C4287 #872C1C #77871C
monochromatic
#071022 #112954 #1C4287 #275BBA #4579D8

Accessibility & contrast

On white

9.64
#1C4287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#1C4287 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4287
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4287#FFFFFF#000000##FFFFFF
##1C42871.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194A8A
Deuteranopia (green-blind)
#004086
Tritanopia (blue-blind)
#00535E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1c4287;
/* rgb */ color: rgb(28, 66, 135);
/* oklch */ color: oklch(39.3% 0.124 261.1);
Tailwind
colors: {
  custom: {
    50: '#6975aa',
    500: '#1c4287',
    950: '#000000',
  },
}
SCSS
$custom: #1c4287;
$custom-light: #6975aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4287",
  "rgb": {
    "r": 28,
    "g": 66,
    "b": 135
  },
  "hsl": {
    "h": 218.692,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.39343,
    "c": 0.12362,
    "h": 261.1
  },
  "luminance": 0.05893
}

Semantic roles & 50–950 ramp

primary
#1C4287
secondary
#BA9045
accent
#AC3FE9
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1C4287

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

Preview Lab → · Contrast checker → · Palette generator →

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