#1C2789#1C2789

#1C2789 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.0% C 0.161 H 269.8°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#1C2789
RGBrgb(28, 39, 137)
HSLhsl(234, 66%, 32%)
HSVhsv(234, 80%, 54%)
CMYKcmyk(79.6%, 71.5%, 0%, 46.3%)
CIE-LABlab(21.96, 32.31, -55.43)
CIE-LCHlch(21.96, 64.16, 300.24°)
OKLaboklab(34.04% -0.0005 -0.1605)
OKLCHoklch(34.04% 0.161 269.8)
XYZxyz(5.7182, 3.5034, 24.0369)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2789 #897E1C
analogous
#1C5E89 #1C2789 #481C89
triadic
#1C2789 #891C27 #27891C
tetradic
#1C2789 #891C5E #897E1C #1C8948
square
#1C2789 #891C5E #897E1C #1C8948
split-complementary
#1C2789 #89481C #5E891C
monochromatic
#070A23 #121956 #1C2789 #2635BC #4655D9

Accessibility & contrast

On white

12.35
#1C2789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#1C2789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2789
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2789#FFFFFF#000000##FFFFFF
##1C27891.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8C
Deuteranopia (green-blind)
#002F87
Tritanopia (blue-blind)
#004255
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1c2789;
/* rgb */ color: rgb(28, 39, 137);
/* oklch */ color: oklch(34.0% 0.161 269.8);
Tailwind
colors: {
  custom: {
    50: '#6c61ac',
    500: '#1c2789',
    950: '#000000',
  },
}
SCSS
$custom: #1c2789;
$custom-light: #6c61ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2789",
  "rgb": {
    "r": 28,
    "g": 39,
    "b": 137
  },
  "hsl": {
    "h": 233.945,
    "s": 66.061,
    "l": 32.353
  },
  "oklch": {
    "l": 0.34041,
    "c": 0.1605,
    "h": 269.8
  },
  "luminance": 0.03504
}

Semantic roles & 50–950 ramp

primary
#1C2789
secondary
#BBAF46
accent
#D83FE9
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1C2789

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

Preview Lab → · Contrast checker → · Palette generator →

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