#1C2D87#1C2D87

#1C2D87 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.9% C 0.151 H 268.6°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#1C2D87
RGBrgb(28, 45, 135)
HSLhsl(230, 66%, 32%)
HSVhsv(230, 79%, 53%)
CMYKcmyk(79.3%, 66.7%, 0%, 47.1%)
CIE-LABlab(23.24, 27.57, -52.06)
CIE-LCHlch(23.24, 58.91, 297.90°)
OKLaboklab(34.92% -0.0036 -0.1506)
OKLCHoklch(34.92% 0.151 268.6)
XYZxyz(5.7889, 3.8723, 23.3593)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2D87 #87761C
analogous
#1C6387 #1C2D87 #401C87
triadic
#1C2D87 #871C2D #2D871C
tetradic
#1C2D87 #871C63 #87761C #1C8740
square
#1C2D87 #871C63 #87761C #1C8740
split-complementary
#1C2D87 #87401C #63871C
monochromatic
#070B22 #111C54 #1C2D87 #273EBA #455CD8

Accessibility & contrast

On white

11.83
#1C2D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#1C2D87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2D87
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2D87#FFFFFF#000000##FFFFFF
##1C2D871.0011.831.7711.83
#FFFFFF11.831.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c2d87;
/* rgb */ color: rgb(28, 45, 135);
/* oklch */ color: oklch(34.9% 0.151 268.6);
Tailwind
colors: {
  custom: {
    50: '#6b66ab',
    500: '#1c2d87',
    950: '#000000',
  },
}
SCSS
$custom: #1c2d87;
$custom-light: #6b66ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2d87",
  "rgb": {
    "r": 28,
    "g": 45,
    "b": 135
  },
  "hsl": {
    "h": 230.467,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34919,
    "c": 0.15068,
    "h": 268.6
  },
  "luminance": 0.03873
}

Semantic roles & 50–950 ramp

primary
#1C2D87
secondary
#BAA745
accent
#CE3FE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080510
muted
#7A7A7F

Preview Lab

Preview with #1C2D87

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

Preview Lab → · Contrast checker → · Palette generator →

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