#1C2791#1C2791

#1C2791 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.9% C 0.171 H 269.5°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#1C2791
RGBrgb(28, 39, 145)
HSLhsl(234, 68%, 34%)
HSVhsv(234, 81%, 57%)
CMYKcmyk(80.7%, 73.1%, 0%, 43.1%)
CIE-LABlab(22.80, 35.26, -59.02)
CIE-LCHlch(22.80, 68.76, 300.86°)
OKLaboklab(34.9% -0.0014 -0.171)
OKLCHoklch(34.9% 0.171 269.5)
XYZxyz(6.3135, 3.7415, 27.1720)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2791 #91861C
analogous
#1C6291 #1C2791 #4C1C91
triadic
#1C2791 #911C27 #27911C
tetradic
#1C2791 #911C62 #91861C #1C914C
square
#1C2791 #911C62 #91861C #1C914C
split-complementary
#1C2791 #914C1C #62911C
monochromatic
#080B2A #12195E #1C2791 #2635C4 #4B59DC

Accessibility & contrast

On white

12.01
#1C2791 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#1C2791 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2791
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2791#FFFFFF#000000##FFFFFF
##1C27911.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C94
Deuteranopia (green-blind)
#00318F
Tritanopia (blue-blind)
#004559
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1c2791;
/* rgb */ color: rgb(28, 39, 145);
/* oklch */ color: oklch(34.9% 0.171 269.5);
Tailwind
colors: {
  custom: {
    50: '#6e62b2',
    500: '#1c2791',
    950: '#000000',
  },
}
SCSS
$custom: #1c2791;
$custom-light: #6e62b2;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2791",
  "rgb": {
    "r": 28,
    "g": 39,
    "b": 145
  },
  "hsl": {
    "h": 234.359,
    "s": 67.63,
    "l": 33.922
  },
  "oklch": {
    "l": 0.34899,
    "c": 0.17098,
    "h": 269.5
  },
  "luminance": 0.03742
}

Semantic roles & 50–950 ramp

primary
#1C2791
secondary
#BEB44A
accent
#DA3DEB
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #1C2791

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

Preview Lab → · Contrast checker → · Palette generator →

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