#3131C9#3131C9

#3131C9 is a dark, highly saturated blue. Relative luminance 0.071; OKLCH L 43.5% C 0.224 H 272.1°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#3131C9
RGBrgb(49, 49, 201)
HSLhsl(240, 61%, 49%)
HSVhsv(240, 76%, 79%)
CMYKcmyk(75.6%, 75.6%, 0%, 21.2%)
CIE-LABlab(31.96, 50.28, -77.49)
CIE-LCHlch(31.96, 92.37, 302.98°)
OKLaboklab(43.49% 0.0081 -0.2243)
OKLCHoklch(43.49% 0.224 272.1)
XYZxyz(12.9040, 7.0653, 55.9307)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3131C9 #C9C931
analogous
#317DC9 #3131C9 #7D31C9
triadic
#3131C9 #C93131 #31C931
tetradic
#3131C9 #C9317D #C9C931 #31C97D
square
#3131C9 #C9317D #C9C931 #31C97D
split-complementary
#3131C9 #C97D31 #7DC931
monochromatic
#191967 #252598 #3131C9 #5F5FD8 #9090E4

Accessibility & contrast

On white

8.70
#3131C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#3131C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3131C9
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3131C9#FFFFFF#000000##FFFFFF
##3131C91.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053CD
Deuteranopia (green-blind)
#0043C6
Tritanopia (blue-blind)
#005E7B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3131c9;
/* rgb */ color: rgb(49, 49, 201);
/* oklch */ color: oklch(43.5% 0.224 272.1);
Tailwind
colors: {
  custom: {
    50: '#826bdb',
    500: '#3131c9',
    950: '#000000',
  },
}
SCSS
$custom: #3131c9;
$custom-light: #826bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#3131c9",
  "rgb": {
    "r": 49,
    "g": 49,
    "b": 201
  },
  "hsl": {
    "h": 240,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.43491,
    "c": 0.22447,
    "h": 272.1
  },
  "luminance": 0.07067
}

Semantic roles & 50–950 ramp

primary
#3131C9
secondary
#CFCF87
accent
#E444E4
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0D0715
muted
#7D7A83

Preview Lab

Preview with #3131C9

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

Preview Lab → · Contrast checker → · Palette generator →

#3131C9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva