#3133C4#3133C4

#3133C4 is a dark, highly saturated blue. Relative luminance 0.070; OKLCH L 43.2% C 0.217 H 272.2°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#3133C4
RGBrgb(49, 51, 196)
HSLhsl(239, 60%, 48%)
HSVhsv(239, 75%, 77%)
CMYKcmyk(75%, 74%, 0%, 23.1%)
CIE-LABlab(31.82, 47.55, -74.79)
CIE-LCHlch(31.82, 88.63, 302.45°)
OKLaboklab(43.24% 0.0081 -0.2165)
OKLCHoklch(43.24% 0.217 272.2)
XYZxyz(12.4109, 7.0048, 52.9118)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3133C4 #C4C231
analogous
#317CC4 #3133C4 #7931C4
triadic
#3133C4 #C43133 #33C431
tetradic
#3133C4 #C4317C #C4C231 #31C479
square
#3133C4 #C4317C #C4C231 #31C479
split-complementary
#3133C4 #C47931 #7CC431
monochromatic
#191A62 #252693 #3133C4 #5C5ED6 #8D8EE2

Accessibility & contrast

On white

8.75
#3133C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#3133C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3133C4
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3133C4#FFFFFF#000000##FFFFFF
##3133C41.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C8
Deuteranopia (green-blind)
#0044C1
Tritanopia (blue-blind)
#005D79
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3133c4;
/* rgb */ color: rgb(49, 51, 196);
/* oklch */ color: oklch(43.2% 0.217 272.2);
Tailwind
colors: {
  custom: {
    50: '#816cd7',
    500: '#3133c4',
    950: '#000000',
  },
}
SCSS
$custom: #3133c4;
$custom-light: #816cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#3133c4",
  "rgb": {
    "r": 49,
    "g": 51,
    "b": 196
  },
  "hsl": {
    "h": 239.184,
    "s": 60,
    "l": 48.039
  },
  "oklch": {
    "l": 0.43238,
    "c": 0.21664,
    "h": 272.2
  },
  "luminance": 0.07006
}

Semantic roles & 50–950 ramp

primary
#3133C4
secondary
#CDCC84
accent
#E145E3
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #3133C4

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

Preview Lab → · Contrast checker → · Palette generator →

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