#1C287D#1C287D

#1C287D is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.0% C 0.143 H 270.0°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#1C287D
RGBrgb(28, 40, 125)
HSLhsl(233, 63%, 30%)
HSVhsv(233, 78%, 49%)
CMYKcmyk(77.6%, 68%, 0%, 51%)
CIE-LABlab(21.00, 27.10, -49.45)
CIE-LCHlch(21.00, 56.39, 298.72°)
OKLaboklab(32.98% 0.0001 -0.143)
OKLCHoklch(32.98% 0.143 270)
XYZxyz(4.9381, 3.2446, 19.7641)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C287D #7D711C
analogous
#1C597D #1C287D #401C7D
triadic
#1C287D #7D1C28 #287D1C
tetradic
#1C287D #7D1C59 #7D711C #1C7D40
square
#1C287D #7D1C59 #7D711C #1C7D40
split-complementary
#1C287D #7D401C #597D1C
monochromatic
#060819 #11184B #1C287D #2738AF #3F52D4

Accessibility & contrast

On white

12.73
#1C287D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#1C287D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C287D
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C287D#FFFFFF#000000##FFFFFF
##1C287D1.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003780
Deuteranopia (green-blind)
#002E7B
Tritanopia (blue-blind)
#003F4E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1c287d;
/* rgb */ color: rgb(28, 40, 125);
/* oklch */ color: oklch(33.0% 0.143 270.0);
Tailwind
colors: {
  custom: {
    50: '#6962a4',
    500: '#1c287d',
    950: '#000000',
  },
}
SCSS
$custom: #1c287d;
$custom-light: #6962a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1c287d",
  "rgb": {
    "r": 28,
    "g": 40,
    "b": 125
  },
  "hsl": {
    "h": 232.577,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.32979,
    "c": 0.14303,
    "h": 270
  },
  "luminance": 0.03245
}

Semantic roles & 50–950 ramp

primary
#1C287D
secondary
#B1A344
accent
#D241E6
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1C287D

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

Preview Lab → · Contrast checker → · Palette generator →

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