#1C287A#1C287A

#1C287A is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.7% C 0.139 H 270.1°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#1C287A
RGBrgb(28, 40, 122)
HSLhsl(232, 63%, 29%)
HSVhsv(232, 77%, 48%)
CMYKcmyk(77%, 67.2%, 0%, 52.2%)
CIE-LABlab(20.71, 25.93, -48.02)
CIE-LCHlch(20.71, 54.57, 298.37°)
OKLaboklab(32.68% 0.0003 -0.1388)
OKLCHoklch(32.68% 0.139 270.1)
XYZxyz(4.7493, 3.1691, 18.7700)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C287A #7A6E1C
analogous
#1C577A #1C287A #3F1C7A
triadic
#1C287A #7A1C28 #287A1C
tetradic
#1C287A #7A1C57 #7A6E1C #1C7A3F
square
#1C287A #7A1C57 #7A6E1C #1C7A3F
split-complementary
#1C287A #7A3F1C #577A1C
monochromatic
#060819 #111848 #1C287A #2738AC #3E51D3

Accessibility & contrast

On white

12.85
#1C287A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#1C287A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C287A
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C287A#FFFFFF#000000##FFFFFF
##1C287A1.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367D
Deuteranopia (green-blind)
#002D78
Tritanopia (blue-blind)
#003E4D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1c287a;
/* rgb */ color: rgb(28, 40, 122);
/* oklch */ color: oklch(32.7% 0.139 270.1);
Tailwind
colors: {
  custom: {
    50: '#6862a1',
    500: '#1c287a',
    950: '#000000',
  },
}
SCSS
$custom: #1c287a;
$custom-light: #6862a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1c287a",
  "rgb": {
    "r": 28,
    "g": 40,
    "b": 122
  },
  "hsl": {
    "h": 232.34,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32679,
    "c": 0.13884,
    "h": 270.1
  },
  "luminance": 0.0317
}

Semantic roles & 50–950 ramp

primary
#1C287A
secondary
#AEA044
accent
#D142E6
background
#F6F5FA
surface
#ECEAF3
border
#C7C6CD
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1C287A

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

Preview Lab → · Contrast checker → · Palette generator →

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