#1C1B79#1C1B79

#1C1B79 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.3% C 0.153 H 273.0°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#1C1B79
RGBrgb(28, 27, 121)
HSLhsl(241, 64%, 29%)
HSVhsv(241, 78%, 47%)
CMYKcmyk(76.9%, 77.7%, 0%, 52.5%)
CIE-LABlab(17.51, 34.01, -52.64)
CIE-LCHlch(17.51, 62.67, 302.86°)
OKLaboklab(30.34% 0.008 -0.1523)
OKLCHoklch(30.34% 0.153 273)
XYZxyz(4.3209, 2.4108, 18.3231)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1B79 #78791B
analogous
#1B4979 #1C1B79 #4B1B79
triadic
#1C1B79 #791C1B #1B791C
tetradic
#1C1B79 #791B49 #78791B #1B794B
square
#1C1B79 #791B49 #78791B #1B794B
split-complementary
#1C1B79 #794B1B #49791B
monochromatic
#060619 #101047 #1C1B79 #2826AB #3D3BD3

Accessibility & contrast

On white

14.17
#1C1B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#1C1B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1B79
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1B79#FFFFFF#000000##FFFFFF
##1C1B791.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7C
Deuteranopia (green-blind)
#002677
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1c1b79;
/* rgb */ color: rgb(28, 27, 121);
/* oklch */ color: oklch(30.3% 0.153 273.0);
Tailwind
colors: {
  custom: {
    50: '#6959a1',
    500: '#1c1b79',
    950: '#000000',
  },
}
SCSS
$custom: #1c1b79;
$custom-light: #6959a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1b79",
  "rgb": {
    "r": 28,
    "g": 27,
    "b": 121
  },
  "hsl": {
    "h": 240.638,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.3034,
    "c": 0.15254,
    "h": 273
  },
  "luminance": 0.02411
}

Semantic roles & 50–950 ramp

primary
#1C1B79
secondary
#ACAD43
accent
#E741E5
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F

Preview Lab

Preview with #1C1B79

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

Preview Lab → · Contrast checker → · Palette generator →

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