#1C1D7D#1C1D7D

#1C1D7D is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.1% C 0.156 H 272.3°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#1C1D7D
RGBrgb(28, 29, 125)
HSLhsl(239, 63%, 30%)
HSVhsv(239, 78%, 49%)
CMYKcmyk(77.6%, 76.8%, 0%, 51%)
CIE-LABlab(18.39, 34.22, -53.74)
CIE-LCHlch(18.39, 63.71, 302.49°)
OKLaboklab(31.1% 0.0062 -0.1555)
OKLCHoklch(31.1% 0.156 272.3)
XYZxyz(4.6187, 2.6058, 19.6576)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1D7D #7D7C1C
analogous
#1C4E7D #1C1D7D #4B1C7D
triadic
#1C1D7D #7D1C1D #1D7D1C
tetradic
#1C1D7D #7D1C4E #7D7C1C #1C7D4B
square
#1C1D7D #7D1C4E #7D7C1C #1C7D4B
split-complementary
#1C1D7D #7D4B1C #4E7D1C
monochromatic
#060619 #11114B #1C1D7D #2729AF #3F41D4

Accessibility & contrast

On white

13.80
#1C1D7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C1D7D
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1D7D#FFFFFF#000000##FFFFFF
##1C1D7D1.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c1d7d;
/* rgb */ color: rgb(28, 29, 125);
/* oklch */ color: oklch(31.1% 0.156 272.3);
Tailwind
colors: {
  custom: {
    50: '#6a5aa4',
    500: '#1c1d7d',
    950: '#000000',
  },
}
SCSS
$custom: #1c1d7d;
$custom-light: #6a5aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1d7d",
  "rgb": {
    "r": 28,
    "g": 29,
    "b": 125
  },
  "hsl": {
    "h": 239.381,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.31099,
    "c": 0.15568,
    "h": 272.3
  },
  "luminance": 0.02606
}

Semantic roles & 50–950 ramp

primary
#1C1D7D
secondary
#B1B044
accent
#E541E6
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F

Preview Lab

Preview with #1C1D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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