#1C1D83#1C1D83

#1C1D83 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.8% C 0.163 H 271.8°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#1C1D83
RGBrgb(28, 29, 131)
HSLhsl(239, 65%, 31%)
HSVhsv(239, 79%, 51%)
CMYKcmyk(78.6%, 77.9%, 0%, 48.6%)
CIE-LABlab(19.07, 36.34, -56.42)
CIE-LCHlch(19.07, 67.11, 302.79°)
OKLaboklab(31.78% 0.0051 -0.1633)
OKLCHoklch(31.78% 0.163 271.8)
XYZxyz(5.0136, 2.7638, 21.7376)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1D83 #83821C
analogous
#1C5083 #1C1D83 #4E1C83
triadic
#1C1D83 #831C1D #1D831C
tetradic
#1C1D83 #831C50 #83821C #1C834E
square
#1C1D83 #831C50 #83821C #1C834E
split-complementary
#1C1D83 #834E1C #50831C
monochromatic
#06071E #111251 #1C1D83 #2728B5 #4344D7

Accessibility & contrast

On white

13.52
#1C1D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1C1D83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1D83
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1D83#FFFFFF#000000##FFFFFF
##1C1D831.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003386
Deuteranopia (green-blind)
#002981
Tritanopia (blue-blind)
#003B4F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1c1d83;
/* rgb */ color: rgb(28, 29, 131);
/* oklch */ color: oklch(31.8% 0.163 271.8);
Tailwind
colors: {
  custom: {
    50: '#6c5aa8',
    500: '#1c1d83',
    950: '#000000',
  },
}
SCSS
$custom: #1c1d83;
$custom-light: #6c5aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1d83",
  "rgb": {
    "r": 28,
    "g": 29,
    "b": 131
  },
  "hsl": {
    "h": 239.417,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.31783,
    "c": 0.16342,
    "h": 271.8
  },
  "luminance": 0.02764
}

Semantic roles & 50–950 ramp

primary
#1C1D83
secondary
#B6B545
accent
#E640E8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1C1D83

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

Preview Lab → · Contrast checker → · Palette generator →

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