#1C2C87#1C2C87

#1C2C87 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.7% C 0.152 H 268.8°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#1C2C87
RGBrgb(28, 44, 135)
HSLhsl(231, 66%, 32%)
HSVhsv(231, 79%, 53%)
CMYKcmyk(79.3%, 67.4%, 0%, 47.1%)
CIE-LABlab(22.99, 28.24, -52.49)
CIE-LCHlch(22.99, 59.60, 298.28°)
OKLaboklab(34.73% -0.0031 -0.1519)
OKLCHoklch(34.73% 0.152 268.8)
XYZxyz(5.7512, 3.7969, 23.3467)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2C87 #87771C
analogous
#1C6287 #1C2C87 #421C87
triadic
#1C2C87 #871C2C #2C871C
tetradic
#1C2C87 #871C62 #87771C #1C8742
square
#1C2C87 #871C62 #87771C #1C8742
split-complementary
#1C2C87 #87421C #62871C
monochromatic
#070B22 #111B54 #1C2C87 #273DBA #455BD8

Accessibility & contrast

On white

11.93
#1C2C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#1C2C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2C87
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2C87#FFFFFF#000000##FFFFFF
##1C2C871.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8A
Deuteranopia (green-blind)
#003285
Tritanopia (blue-blind)
#004455
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1c2c87;
/* rgb */ color: rgb(28, 44, 135);
/* oklch */ color: oklch(34.7% 0.152 268.8);
Tailwind
colors: {
  custom: {
    50: '#6b65ab',
    500: '#1c2c87',
    950: '#000000',
  },
}
SCSS
$custom: #1c2c87;
$custom-light: #6b65ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2c87",
  "rgb": {
    "r": 28,
    "g": 44,
    "b": 135
  },
  "hsl": {
    "h": 231.028,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34731,
    "c": 0.15191,
    "h": 268.8
  },
  "luminance": 0.03798
}

Semantic roles & 50–950 ramp

primary
#1C2C87
secondary
#BAA845
accent
#CF3FE9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #1C2C87

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

Preview Lab → · Contrast checker → · Palette generator →

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