#1C1D7C#1C1D7C

#1C1D7C is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.0% C 0.154 H 272.4°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#1C1D7C
RGBrgb(28, 29, 124)
HSLhsl(239, 63%, 30%)
HSVhsv(239, 77%, 49%)
CMYKcmyk(77.4%, 76.6%, 0%, 51.4%)
CIE-LABlab(18.28, 33.87, -53.29)
CIE-LCHlch(18.28, 63.14, 302.44°)
OKLaboklab(30.99% 0.0064 -0.1542)
OKLCHoklch(30.99% 0.154 272.4)
XYZxyz(4.5551, 2.5804, 19.3229)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1D7C #7C7B1C
analogous
#1C4D7C #1C1D7C #4B1C7C
triadic
#1C1D7C #7C1C1D #1D7C1C
tetradic
#1C1D7C #7C1C4D #7C7B1C #1C7C4B
square
#1C1D7C #7C1C4D #7C7B1C #1C7C4B
split-complementary
#1C1D7C #7C4B1C #4D7C1C
monochromatic
#060619 #11114A #1C1D7C #2729AE #3F40D4

Accessibility & contrast

On white

13.85
#1C1D7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#1C1D7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1D7C
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1D7C#FFFFFF#000000##FFFFFF
##1C1D7C1.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317F
Deuteranopia (green-blind)
#00287A
Tritanopia (blue-blind)
#00394B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1c1d7c;
/* rgb */ color: rgb(28, 29, 124);
/* oklch */ color: oklch(31.0% 0.154 272.4);
Tailwind
colors: {
  custom: {
    50: '#6a5aa3',
    500: '#1c1d7c',
    950: '#000000',
  },
}
SCSS
$custom: #1c1d7c;
$custom-light: #6a5aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1d7c",
  "rgb": {
    "r": 28,
    "g": 29,
    "b": 124
  },
  "hsl": {
    "h": 239.375,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.30986,
    "c": 0.15436,
    "h": 272.4
  },
  "luminance": 0.02581
}

Semantic roles & 50–950 ramp

primary
#1C1D7C
secondary
#B0AF44
accent
#E442E6
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1C1D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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