#1C2E87#1C2E87

#1C2E87 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.1% C 0.149 H 268.4°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#1C2E87
RGBrgb(28, 46, 135)
HSLhsl(230, 66%, 32%)
HSVhsv(230, 79%, 53%)
CMYKcmyk(79.3%, 65.9%, 0%, 47.1%)
CIE-LABlab(23.50, 26.88, -51.64)
CIE-LCHlch(23.50, 58.22, 297.50°)
OKLaboklab(35.11% -0.0043 -0.1494)
OKLCHoklch(35.11% 0.149 268.4)
XYZxyz(5.8275, 3.9495, 23.3722)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2E87 #87751C
analogous
#1C6387 #1C2E87 #401C87
triadic
#1C2E87 #871C2E #2E871C
tetradic
#1C2E87 #871C63 #87751C #1C8740
square
#1C2E87 #871C63 #87751C #1C8740
split-complementary
#1C2E87 #87401C #63871C
monochromatic
#070B22 #111D54 #1C2E87 #273FBA #455ED8

Accessibility & contrast

On white

11.73
#1C2E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#1C2E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2E87
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2E87#FFFFFF#000000##FFFFFF
##1C2E871.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8A
Deuteranopia (green-blind)
#003385
Tritanopia (blue-blind)
#004556
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1c2e87;
/* rgb */ color: rgb(28, 46, 135);
/* oklch */ color: oklch(35.1% 0.149 268.4);
Tailwind
colors: {
  custom: {
    50: '#6b66ab',
    500: '#1c2e87',
    950: '#000000',
  },
}
SCSS
$custom: #1c2e87;
$custom-light: #6b66ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2e87",
  "rgb": {
    "r": 28,
    "g": 46,
    "b": 135
  },
  "hsl": {
    "h": 229.907,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35109,
    "c": 0.14945,
    "h": 268.4
  },
  "luminance": 0.0395
}

Semantic roles & 50–950 ramp

primary
#1C2E87
secondary
#BAA645
accent
#CC3FE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #1C2E87

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

Preview Lab → · Contrast checker → · Palette generator →

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