#1C287B#1C287B

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

Color values

HEX#1C287B
RGBrgb(28, 40, 123)
HSLhsl(232, 63%, 30%)
HSVhsv(232, 77%, 48%)
CMYKcmyk(77.2%, 67.5%, 0%, 51.8%)
CIE-LABlab(20.80, 26.32, -48.50)
CIE-LCHlch(20.80, 55.18, 298.49°)
OKLaboklab(32.78% 0.0002 -0.1402)
OKLCHoklch(32.78% 0.14 270.1)
XYZxyz(4.8116, 3.1940, 19.0980)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C287B #7B6F1C
analogous
#1C587B #1C287B #401C7B
triadic
#1C287B #7B1C28 #287B1C
tetradic
#1C287B #7B1C58 #7B6F1C #1C7B40
square
#1C287B #7B1C58 #7B6F1C #1C7B40
split-complementary
#1C287B #7B401C #587B1C
monochromatic
#060819 #111849 #1C287B #2738AD #3E51D3

Accessibility & contrast

On white

12.81
#1C287B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C287B
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C287B#FFFFFF#000000##FFFFFF
##1C287B1.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377E
Deuteranopia (green-blind)
#002E79
Tritanopia (blue-blind)
#003E4D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1c287b;
/* rgb */ color: rgb(28, 40, 123);
/* oklch */ color: oklch(32.8% 0.140 270.1);
Tailwind
colors: {
  custom: {
    50: '#6862a2',
    500: '#1c287b',
    950: '#000000',
  },
}
SCSS
$custom: #1c287b;
$custom-light: #6862a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1c287b",
  "rgb": {
    "r": 28,
    "g": 40,
    "b": 123
  },
  "hsl": {
    "h": 232.421,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.32778,
    "c": 0.14024,
    "h": 270.1
  },
  "luminance": 0.03195
}

Semantic roles & 50–950 ramp

primary
#1C287B
secondary
#AFA144
accent
#D142E6
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1C287B

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

Preview Lab → · Contrast checker → · Palette generator →

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