#3133C5#3133C5

#3133C5 is a dark, highly saturated blue. Relative luminance 0.071; OKLCH L 43.3% C 0.218 H 272.1°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#3133C5
RGBrgb(49, 51, 197)
HSLhsl(239, 60%, 48%)
HSVhsv(239, 75%, 77%)
CMYKcmyk(75.1%, 74.1%, 0%, 22.7%)
CIE-LABlab(31.92, 47.88, -75.21)
CIE-LCHlch(31.92, 89.16, 302.48°)
OKLaboklab(43.34% 0.008 -0.2177)
OKLCHoklch(43.34% 0.218 272.1)
XYZxyz(12.5251, 7.0505, 53.5133)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3133C5 #C5C331
analogous
#317DC5 #3133C5 #7931C5
triadic
#3133C5 #C53133 #33C531
tetradic
#3133C5 #C5317D #C5C331 #31C579
square
#3133C5 #C5317D #C5C331 #31C579
split-complementary
#3133C5 #C57931 #7DC531
monochromatic
#191A63 #252694 #3133C5 #5D5ED7 #8E8FE3

Accessibility & contrast

On white

8.71
#3133C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#3133C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3133C5
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3133C5#FFFFFF#000000##FFFFFF
##3133C51.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C9
Deuteranopia (green-blind)
#0044C2
Tritanopia (blue-blind)
#005E79
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3133c5;
/* rgb */ color: rgb(49, 51, 197);
/* oklch */ color: oklch(43.3% 0.218 272.1);
Tailwind
colors: {
  custom: {
    50: '#816cd8',
    500: '#3133c5',
    950: '#000000',
  },
}
SCSS
$custom: #3133c5;
$custom-light: #816cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#3133c5",
  "rgb": {
    "r": 49,
    "g": 51,
    "b": 197
  },
  "hsl": {
    "h": 239.189,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.43343,
    "c": 0.21784,
    "h": 272.1
  },
  "luminance": 0.07052
}

Semantic roles & 50–950 ramp

primary
#3133C5
secondary
#CDCC85
accent
#E144E3
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #3133C5

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

Preview Lab → · Contrast checker → · Palette generator →

#3133C5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva