#1C2387#1C2387

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

Color values

HEX#1C2387
RGBrgb(28, 35, 135)
HSLhsl(236, 66%, 32%)
HSVhsv(236, 79%, 53%)
CMYKcmyk(79.3%, 74.1%, 0%, 47.1%)
CIE-LABlab(20.82, 34.13, -56.06)
CIE-LCHlch(20.82, 65.63, 301.33°)
OKLaboklab(33.16% 0.0017 -0.1623)
OKLCHoklch(33.16% 0.162 270.6)
XYZxyz(5.4516, 3.1976, 23.2469)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2387 #87801C
analogous
#1C5987 #1C2387 #4B1C87
triadic
#1C2387 #871C23 #23871C
tetradic
#1C2387 #871C59 #87801C #1C874B
square
#1C2387 #871C59 #87801C #1C874B
split-complementary
#1C2387 #874B1C #59871C
monochromatic
#070922 #111654 #1C2387 #2730BA #454FD8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1C2387#FFFFFF#000000##FFFFFF
##1C23871.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)
#00378A
Deuteranopia (green-blind)
#002D85
Tritanopia (blue-blind)
#004052
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1c2387;
/* rgb */ color: rgb(28, 35, 135);
/* oklch */ color: oklch(33.2% 0.162 270.6);
Tailwind
colors: {
  custom: {
    50: '#6c5fab',
    500: '#1c2387',
    950: '#000000',
  },
}
SCSS
$custom: #1c2387;
$custom-light: #6c5fab;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2387",
  "rgb": {
    "r": 28,
    "g": 35,
    "b": 135
  },
  "hsl": {
    "h": 236.075,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.33159,
    "c": 0.16232,
    "h": 270.6
  },
  "luminance": 0.03198
}

Semantic roles & 50–950 ramp

primary
#1C2387
secondary
#BAB245
accent
#DE3FE9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1C2387

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

Preview Lab → · Contrast checker → · Palette generator →

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