#3133B2#3133B2

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

Color values

HEX#3133B2
RGBrgb(49, 51, 178)
HSLhsl(239, 57%, 45%)
HSVhsv(239, 72%, 70%)
CMYKcmyk(72.5%, 71.3%, 0%, 30.2%)
CIE-LABlab(30.00, 41.53, -67.16)
CIE-LCHlch(30.00, 78.97, 301.73°)
OKLaboklab(41.39% 0.011 -0.1942)
OKLCHoklch(41.39% 0.195 273.3)
XYZxyz(10.4836, 6.2339, 42.7616)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3133B2 #B2B031
analogous
#3174B2 #3133B2 #7031B2
triadic
#3133B2 #B23133 #33B231
tetradic
#3133B2 #B23174 #B2B031 #31B270
square
#3133B2 #B23174 #B2B031 #31B270
split-complementary
#3133B2 #B27031 #74B231
monochromatic
#171852 #242582 #3133B2 #5153CF #8182DC

Accessibility & contrast

On white

9.35
#3133B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#3133B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3133B2
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3133B2#FFFFFF#000000##FFFFFF
##3133B21.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB6
Deuteranopia (green-blind)
#0040B0
Tritanopia (blue-blind)
#00566F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3133b2;
/* rgb */ color: rgb(49, 51, 178);
/* oklch */ color: oklch(41.4% 0.195 273.3);
Tailwind
colors: {
  custom: {
    50: '#7d6cca',
    500: '#3133b2',
    950: '#000000',
  },
}
SCSS
$custom: #3133b2;
$custom-light: #7d6cca;
$custom-dark: #000000;
JSON
{
  "hex": "#3133b2",
  "rgb": {
    "r": 49,
    "g": 51,
    "b": 178
  },
  "hsl": {
    "h": 239.07,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.41393,
    "c": 0.19456,
    "h": 273.3
  },
  "luminance": 0.06235
}

Semantic roles & 50–950 ramp

primary
#3133B2
secondary
#C5C479
accent
#DE48E0
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3133B2

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

Preview Lab → · Contrast checker → · Palette generator →

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