#3133B1#3133B1

#3133B1 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.3% C 0.193 H 273.3°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#3133B1
RGBrgb(49, 51, 177)
HSLhsl(239, 57%, 44%)
HSVhsv(239, 72%, 69%)
CMYKcmyk(72.3%, 71.2%, 0%, 30.6%)
CIE-LABlab(29.90, 41.19, -66.73)
CIE-LCHlch(29.90, 78.42, 301.69°)
OKLaboklab(41.29% 0.0112 -0.193)
OKLCHoklch(41.29% 0.193 273.3)
XYZxyz(10.3836, 6.1939, 42.2348)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3133B1 #B1AF31
analogous
#3173B1 #3133B1 #6F31B1
triadic
#3133B1 #B13133 #33B131
tetradic
#3133B1 #B13173 #B1AF31 #31B16F
square
#3133B1 #B13173 #B1AF31 #31B16F
split-complementary
#3133B1 #B16F31 #73B131
monochromatic
#161751 #242581 #3133B1 #5152CF #8082DC

Accessibility & contrast

On white

9.38
#3133B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#3133B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3133B1
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3133B1#FFFFFF#000000##FFFFFF
##3133B11.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB5
Deuteranopia (green-blind)
#0040AF
Tritanopia (blue-blind)
#00566E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3133b1;
/* rgb */ color: rgb(49, 51, 177);
/* oklch */ color: oklch(41.3% 0.193 273.3);
Tailwind
colors: {
  custom: {
    50: '#7c6cc9',
    500: '#3133b1',
    950: '#000000',
  },
}
SCSS
$custom: #3133b1;
$custom-light: #7c6cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#3133b1",
  "rgb": {
    "r": 49,
    "g": 51,
    "b": 177
  },
  "hsl": {
    "h": 239.063,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.41292,
    "c": 0.1933,
    "h": 273.3
  },
  "luminance": 0.06195
}

Semantic roles & 50–950 ramp

primary
#3133B1
secondary
#C5C479
accent
#DE48E0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3133B1

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

Preview Lab → · Contrast checker → · Palette generator →

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