#1C2B87#1C2B87

#1C2B87 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.5% C 0.153 H 269.1°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#1C2B87
RGBrgb(28, 43, 135)
HSLhsl(232, 66%, 32%)
HSVhsv(232, 79%, 53%)
CMYKcmyk(79.3%, 68.1%, 0%, 47.1%)
CIE-LABlab(22.73, 28.92, -52.90)
CIE-LCHlch(22.73, 60.29, 298.66°)
OKLaboklab(34.55% -0.0025 -0.1531)
OKLCHoklch(34.55% 0.153 269.1)
XYZxyz(5.7144, 3.7233, 23.3345)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2B87 #87781C
analogous
#1C6187 #1C2B87 #431C87
triadic
#1C2B87 #871C2B #2B871C
tetradic
#1C2B87 #871C61 #87781C #1C8743
square
#1C2B87 #871C61 #87781C #1C8743
split-complementary
#1C2B87 #87431C #61871C
monochromatic
#070B22 #111B54 #1C2B87 #273BBA #455AD8

Accessibility & contrast

On white

12.04
#1C2B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#1C2B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2B87
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2B87#FFFFFF#000000##FFFFFF
##1C2B871.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c2b87;
/* rgb */ color: rgb(28, 43, 135);
/* oklch */ color: oklch(34.5% 0.153 269.1);
Tailwind
colors: {
  custom: {
    50: '#6b64ab',
    500: '#1c2b87',
    950: '#000000',
  },
}
SCSS
$custom: #1c2b87;
$custom-light: #6b64ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2b87",
  "rgb": {
    "r": 28,
    "g": 43,
    "b": 135
  },
  "hsl": {
    "h": 231.589,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34546,
    "c": 0.15312,
    "h": 269.1
  },
  "luminance": 0.03724
}

Semantic roles & 50–950 ramp

primary
#1C2B87
secondary
#BAAA45
accent
#D13FE9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #1C2B87

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

Preview Lab → · Contrast checker → · Palette generator →

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