#1631CD#1631CD

#1631CD is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 42.8% C 0.235 H 266.1°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#1631CD
RGBrgb(22, 49, 205)
HSLhsl(231, 81%, 45%)
HSVhsv(231, 89%, 80%)
CMYKcmyk(89.3%, 76.1%, 0%, 19.6%)
CIE-LABlab(31.29, 50.08, -80.97)
CIE-LCHlch(31.29, 95.20, 301.74°)
OKLaboklab(42.84% -0.0162 -0.2348)
OKLCHoklch(42.84% 0.235 266.1)
XYZxyz(12.4448, 6.7734, 58.3972)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1631CD #CDB216
analogous
#168CCD #1631CD #5716CD
triadic
#1631CD #CD1631 #31CD16
tetradic
#1631CD #CD168C #CDB216 #16CD57
square
#1631CD #CD168C #CDB216 #16CD57
split-complementary
#1631CD #CD5716 #8CCD16
monochromatic
#0A175E #102496 #1631CD #3751EA #6E81EF

Accessibility & contrast

On white

8.92
#1631CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#1631CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1631CD
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1631CD#FFFFFF#000000##FFFFFF
##1631CD1.008.922.368.92
#FFFFFF8.921.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053D1
Deuteranopia (green-blind)
#0040CA
Tritanopia (blue-blind)
#00607D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1631cd;
/* rgb */ color: rgb(22, 49, 205);
/* oklch */ color: oklch(42.8% 0.235 266.1);
Tailwind
colors: {
  custom: {
    50: '#7c6bde',
    500: '#1631cd',
    950: '#000000',
  },
}
SCSS
$custom: #1631cd;
$custom-light: #7c6bde;
$custom-dark: #000000;
JSON
{
  "hex": "#1631cd",
  "rgb": {
    "r": 22,
    "g": 49,
    "b": 205
  },
  "hsl": {
    "h": 231.148,
    "s": 80.617,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42838,
    "c": 0.23536,
    "h": 266.1
  },
  "luminance": 0.06775
}

Semantic roles & 50–950 ramp

primary
#1631CD
secondary
#D5C569
accent
#DA31F7
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #1631CD

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

Preview Lab → · Contrast checker → · Palette generator →

#1631CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva