#1C1F84#1C1F84

#1C1F84 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.2% C 0.163 H 271.4°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#1C1F84
RGBrgb(28, 31, 132)
HSLhsl(238, 65%, 31%)
HSVhsv(238, 79%, 52%)
CMYKcmyk(78.8%, 76.5%, 0%, 48.2%)
CIE-LABlab(19.61, 35.51, -56.17)
CIE-LCHlch(19.61, 66.45, 302.30°)
OKLaboklab(32.2% 0.0041 -0.1626)
OKLCHoklch(32.2% 0.163 271.4)
XYZxyz(5.1323, 2.8922, 22.1131)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1F84 #84811C
analogous
#1C5384 #1C1F84 #4D1C84
triadic
#1C1F84 #841C1F #1F841C
tetradic
#1C1F84 #841C53 #84811C #1C844D
square
#1C1F84 #841C53 #84811C #1C844D
split-complementary
#1C1F84 #844D1C #53841C
monochromatic
#07071F #111352 #1C1F84 #272BB6 #4347D7

Accessibility & contrast

On white

13.30
#1C1F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#1C1F84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1F84
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1F84#FFFFFF#000000##FFFFFF
##1C1F841.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003587
Deuteranopia (green-blind)
#002A82
Tritanopia (blue-blind)
#003C50
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1c1f84;
/* rgb */ color: rgb(28, 31, 132);
/* oklch */ color: oklch(32.2% 0.163 271.4);
Tailwind
colors: {
  custom: {
    50: '#6c5ca9',
    500: '#1c1f84',
    950: '#000000',
  },
}
SCSS
$custom: #1c1f84;
$custom-light: #6c5ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1f84",
  "rgb": {
    "r": 28,
    "g": 31,
    "b": 132
  },
  "hsl": {
    "h": 238.269,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32196,
    "c": 0.16267,
    "h": 271.4
  },
  "luminance": 0.02893
}

Semantic roles & 50–950 ramp

primary
#1C1F84
secondary
#B7B445
accent
#E340E8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1C1F84

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

Preview Lab → · Contrast checker → · Palette generator →

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