#1C31A9#1C31A9

#1C31A9 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.1% C 0.191 H 267.6°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#1C31A9
RGBrgb(28, 49, 169)
HSLhsl(231, 72%, 39%)
HSVhsv(231, 83%, 66%)
CMYKcmyk(83.4%, 71%, 0%, 33.7%)
CIE-LABlab(27.59, 37.75, -65.77)
CIE-LCHlch(27.59, 75.83, 299.86°)
OKLaboklab(39.11% -0.0081 -0.1906)
OKLCHoklch(39.11% 0.191 267.6)
XYZxyz(8.7361, 5.3070, 38.0923)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C31A9 #A9941C
analogous
#1C77A9 #1C31A9 #4D1CA9
triadic
#1C31A9 #A91C31 #31A91C
tetradic
#1C31A9 #A91C77 #A9941C #1CA94D
square
#1C31A9 #A91C77 #A9941C #1CA94D
split-complementary
#1C31A9 #A94D1C #77A91C
monochromatic
#0B1340 #132274 #1C31A9 #2742DB #5B70E4

Accessibility & contrast

On white

10.19
#1C31A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#1C31A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C31A9
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C31A9#FFFFFF#000000##FFFFFF
##1C31A91.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AD
Deuteranopia (green-blind)
#003AA7
Tritanopia (blue-blind)
#005369
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1c31a9;
/* rgb */ color: rgb(28, 49, 169);
/* oklch */ color: oklch(39.1% 0.191 267.6);
Tailwind
colors: {
  custom: {
    50: '#7469c4',
    500: '#1c31a9',
    950: '#000000',
  },
}
SCSS
$custom: #1c31a9;
$custom-light: #7469c4;
$custom-dark: #000000;
JSON
{
  "hex": "#1c31a9",
  "rgb": {
    "r": 28,
    "g": 49,
    "b": 169
  },
  "hsl": {
    "h": 231.064,
    "s": 71.574,
    "l": 38.627
  },
  "oklch": {
    "l": 0.39105,
    "c": 0.19078,
    "h": 267.6
  },
  "luminance": 0.05308
}

Semantic roles & 50–950 ramp

primary
#1C31A9
secondary
#C8B759
accent
#D339EE
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #1C31A9

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

Preview Lab → · Contrast checker → · Palette generator →

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