#1C2391#1C2391

#1C2391 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.3% C 0.175 H 270.1°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#1C2391
RGBrgb(28, 35, 145)
HSLhsl(236, 68%, 34%)
HSVhsv(236, 81%, 57%)
CMYKcmyk(80.7%, 75.9%, 0%, 43.1%)
CIE-LABlab(21.92, 37.72, -60.48)
CIE-LCHlch(21.92, 71.27, 301.95°)
OKLaboklab(34.27% 0.0002 -0.1752)
OKLCHoklch(34.27% 0.175 270.1)
XYZxyz(6.1890, 3.4926, 27.1305)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2391 #918A1C
analogous
#1C5E91 #1C2391 #501C91
triadic
#1C2391 #911C23 #23911C
tetradic
#1C2391 #911C5E #918A1C #1C9150
square
#1C2391 #911C5E #918A1C #1C9150
split-complementary
#1C2391 #91501C #5E911C
monochromatic
#080A2A #12175E #1C2391 #262FC4 #4B54DC

Accessibility & contrast

On white

12.36
#1C2391 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#1C2391 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2391
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2391#FFFFFF#000000##FFFFFF
##1C23911.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A94
Deuteranopia (green-blind)
#002F8F
Tritanopia (blue-blind)
#004358
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1c2391;
/* rgb */ color: rgb(28, 35, 145);
/* oklch */ color: oklch(34.3% 0.175 270.1);
Tailwind
colors: {
  custom: {
    50: '#6f5fb2',
    500: '#1c2391',
    950: '#000000',
  },
}
SCSS
$custom: #1c2391;
$custom-light: #6f5fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2391",
  "rgb": {
    "r": 28,
    "g": 35,
    "b": 145
  },
  "hsl": {
    "h": 236.41,
    "s": 67.63,
    "l": 33.922
  },
  "oklch": {
    "l": 0.3427,
    "c": 0.17517,
    "h": 270.1
  },
  "luminance": 0.03493
}

Semantic roles & 50–950 ramp

primary
#1C2391
secondary
#BEB74A
accent
#E03DEB
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #1C2391

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

Preview Lab → · Contrast checker → · Palette generator →

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