#1C287F#1C287F

#1C287F is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.2% C 0.146 H 270.0°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#1C287F
RGBrgb(28, 40, 127)
HSLhsl(233, 64%, 30%)
HSVhsv(233, 78%, 50%)
CMYKcmyk(78%, 68.5%, 0%, 50.2%)
CIE-LABlab(21.19, 27.87, -50.40)
CIE-LCHlch(21.19, 57.59, 298.94°)
OKLaboklab(33.18% -0.0001 -0.1458)
OKLCHoklch(33.18% 0.146 270)
XYZxyz(5.0671, 3.2962, 20.4437)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C287F #7F731C
analogous
#1C597F #1C287F #411C7F
triadic
#1C287F #7F1C28 #287F1C
tetradic
#1C287F #7F1C59 #7F731C #1C7F41
square
#1C287F #7F1C59 #7F731C #1C7F41
split-complementary
#1C287F #7F411C #597F1C
monochromatic
#06081B #11184D #1C287F #2738B1 #4052D5

Accessibility & contrast

On white

12.66
#1C287F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#1C287F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C287F
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C287F#FFFFFF#000000##FFFFFF
##1C287F1.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003882
Deuteranopia (green-blind)
#002E7D
Tritanopia (blue-blind)
#003F50
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1c287f;
/* rgb */ color: rgb(28, 40, 127);
/* oklch */ color: oklch(33.2% 0.146 270.0);
Tailwind
colors: {
  custom: {
    50: '#6962a5',
    500: '#1c287f',
    950: '#000000',
  },
}
SCSS
$custom: #1c287f;
$custom-light: #6962a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1c287f",
  "rgb": {
    "r": 28,
    "g": 40,
    "b": 127
  },
  "hsl": {
    "h": 232.727,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.33181,
    "c": 0.1458,
    "h": 270
  },
  "luminance": 0.03297
}

Semantic roles & 50–950 ramp

primary
#1C287F
secondary
#B3A544
accent
#D341E7
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1C287F

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

Preview Lab → · Contrast checker → · Palette generator →

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