#1C2A87#1C2A87

#1C2A87 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.4% C 0.154 H 269.3°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#1C2A87
RGBrgb(28, 42, 135)
HSLhsl(232, 66%, 32%)
HSVhsv(232, 79%, 53%)
CMYKcmyk(79.3%, 68.9%, 0%, 47.1%)
CIE-LABlab(22.48, 29.59, -53.31)
CIE-LCHlch(22.48, 60.97, 299.03°)
OKLaboklab(34.36% -0.0019 -0.1543)
OKLCHoklch(34.36% 0.154 269.3)
XYZxyz(5.6785, 3.6514, 23.3225)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2A87 #87791C
analogous
#1C5F87 #1C2A87 #441C87
triadic
#1C2A87 #871C2A #2A871C
tetradic
#1C2A87 #871C5F #87791C #1C8744
square
#1C2A87 #871C5F #87791C #1C8744
split-complementary
#1C2A87 #87441C #5F871C
monochromatic
#070A22 #111A54 #1C2A87 #273ABA #4558D8

Accessibility & contrast

On white

12.14
#1C2A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#1C2A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2A87
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2A87#FFFFFF#000000##FFFFFF
##1C2A871.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8A
Deuteranopia (green-blind)
#003185
Tritanopia (blue-blind)
#004354
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1c2a87;
/* rgb */ color: rgb(28, 42, 135);
/* oklch */ color: oklch(34.4% 0.154 269.3);
Tailwind
colors: {
  custom: {
    50: '#6b63ab',
    500: '#1c2a87',
    950: '#000000',
  },
}
SCSS
$custom: #1c2a87;
$custom-light: #6b63ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2a87",
  "rgb": {
    "r": 28,
    "g": 42,
    "b": 135
  },
  "hsl": {
    "h": 232.15,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34363,
    "c": 0.15432,
    "h": 269.3
  },
  "luminance": 0.03652
}

Semantic roles & 50–950 ramp

primary
#1C2A87
secondary
#BAAB45
accent
#D23FE9
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1C2A87

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

Preview Lab → · Contrast checker → · Palette generator →

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