#1C287C#1C287C

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

Color values

HEX#1C287C
RGBrgb(28, 40, 124)
HSLhsl(233, 63%, 30%)
HSVhsv(233, 77%, 49%)
CMYKcmyk(77.4%, 67.7%, 0%, 51.4%)
CIE-LABlab(20.90, 26.71, -48.97)
CIE-LCHlch(20.90, 55.78, 298.61°)
OKLaboklab(32.88% 0.0001 -0.1416)
OKLCHoklch(32.88% 0.142 270.1)
XYZxyz(4.8745, 3.2192, 19.4293)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C287C #7C701C
analogous
#1C587C #1C287C #401C7C
triadic
#1C287C #7C1C28 #287C1C
tetradic
#1C287C #7C1C58 #7C701C #1C7C40
square
#1C287C #7C1C58 #7C701C #1C7C40
split-complementary
#1C287C #7C401C #587C1C
monochromatic
#060819 #11184A #1C287C #2738AE #3F51D4

Accessibility & contrast

On white

12.77
#1C287C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1C287C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C287C
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C287C#FFFFFF#000000##FFFFFF
##1C287C1.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377F
Deuteranopia (green-blind)
#002E7A
Tritanopia (blue-blind)
#003E4E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1c287c;
/* rgb */ color: rgb(28, 40, 124);
/* oklch */ color: oklch(32.9% 0.142 270.1);
Tailwind
colors: {
  custom: {
    50: '#6962a3',
    500: '#1c287c',
    950: '#000000',
  },
}
SCSS
$custom: #1c287c;
$custom-light: #6962a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1c287c",
  "rgb": {
    "r": 28,
    "g": 40,
    "b": 124
  },
  "hsl": {
    "h": 232.5,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.32878,
    "c": 0.14164,
    "h": 270.1
  },
  "luminance": 0.0322
}

Semantic roles & 50–950 ramp

primary
#1C287C
secondary
#B0A244
accent
#D242E6
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1C287C

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

Preview Lab → · Contrast checker → · Palette generator →

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