#1C2891#1C2891

#1C2891 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.1% C 0.170 H 269.4°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#1C2891
RGBrgb(28, 40, 145)
HSLhsl(234, 68%, 34%)
HSVhsv(234, 81%, 57%)
CMYKcmyk(80.7%, 72.4%, 0%, 43.1%)
CIE-LABlab(23.03, 34.63, -58.65)
CIE-LCHlch(23.03, 68.11, 300.56°)
OKLaboklab(35.06% -0.0019 -0.1699)
OKLCHoklch(35.06% 0.17 269.4)
XYZxyz(6.3468, 3.8081, 27.1831)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2891 #91851C
analogous
#1C6391 #1C2891 #4B1C91
triadic
#1C2891 #911C28 #28911C
tetradic
#1C2891 #911C63 #91851C #1C914B
square
#1C2891 #911C63 #91851C #1C914B
split-complementary
#1C2891 #914B1C #63911C
monochromatic
#080C2A #121A5E #1C2891 #2636C4 #4B5ADC

Accessibility & contrast

On white

11.92
#1C2891 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C2891
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2891#FFFFFF#000000##FFFFFF
##1C28911.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D94
Deuteranopia (green-blind)
#00318F
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1c2891;
/* rgb */ color: rgb(28, 40, 145);
/* oklch */ color: oklch(35.1% 0.170 269.4);
Tailwind
colors: {
  custom: {
    50: '#6e62b2',
    500: '#1c2891',
    950: '#000000',
  },
}
SCSS
$custom: #1c2891;
$custom-light: #6e62b2;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2891",
  "rgb": {
    "r": 28,
    "g": 40,
    "b": 145
  },
  "hsl": {
    "h": 233.846,
    "s": 67.63,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35064,
    "c": 0.16988,
    "h": 269.4
  },
  "luminance": 0.03809
}

Semantic roles & 50–950 ramp

primary
#1C2891
secondary
#BEB34A
accent
#D93DEB
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #1C2891

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

Preview Lab → · Contrast checker → · Palette generator →

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