#1C1F82#1C1F82

#1C1F82 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.0% C 0.160 H 271.6°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#1C1F82
RGBrgb(28, 31, 130)
HSLhsl(238, 65%, 31%)
HSVhsv(238, 78%, 51%)
CMYKcmyk(78.5%, 76.2%, 0%, 49%)
CIE-LABlab(19.38, 34.79, -55.28)
CIE-LCHlch(19.38, 65.31, 302.19°)
OKLaboklab(31.97% 0.0044 -0.16)
OKLCHoklch(31.97% 0.16 271.6)
XYZxyz(4.9968, 2.8380, 21.3992)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1F82 #827F1C
analogous
#1C5282 #1C1F82 #4C1C82
triadic
#1C1F82 #821C1F #1F821C
tetradic
#1C1F82 #821C52 #827F1C #1C824C
square
#1C1F82 #821C52 #827F1C #1C824C
split-complementary
#1C1F82 #824C1C #52821C
monochromatic
#06071D #111350 #1C1F82 #272BB4 #4246D6

Accessibility & contrast

On white

13.39
#1C1F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#1C1F82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1F82
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1F82#FFFFFF#000000##FFFFFF
##1C1F821.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003485
Deuteranopia (green-blind)
#002A80
Tritanopia (blue-blind)
#003C4F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1c1f82;
/* rgb */ color: rgb(28, 31, 130);
/* oklch */ color: oklch(32.0% 0.160 271.6);
Tailwind
colors: {
  custom: {
    50: '#6b5ca7',
    500: '#1c1f82',
    950: '#000000',
  },
}
SCSS
$custom: #1c1f82;
$custom-light: #6b5ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1f82",
  "rgb": {
    "r": 28,
    "g": 31,
    "b": 130
  },
  "hsl": {
    "h": 238.235,
    "s": 64.557,
    "l": 30.98
  },
  "oklch": {
    "l": 0.31971,
    "c": 0.16008,
    "h": 271.6
  },
  "luminance": 0.02839
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1C1F82

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

Preview Lab → · Contrast checker → · Palette generator →

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