#3133A2#3133A2

#3133A2 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.8% C 0.174 H 274.3°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#3133A2
RGBrgb(49, 51, 162)
HSLhsl(239, 54%, 41%)
HSVhsv(239, 70%, 64%)
CMYKcmyk(69.8%, 68.5%, 0%, 36.5%)
CIE-LABlab(28.45, 36.03, -60.08)
CIE-LCHlch(28.45, 70.06, 300.95°)
OKLaboklab(39.82% 0.0132 -0.1736)
OKLCHoklch(39.82% 0.174 274.3)
XYZxyz(8.9699, 5.6284, 34.7891)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3133A2 #A2A031
analogous
#316CA2 #3133A2 #6831A2
triadic
#3133A2 #A23133 #33A231
tetradic
#3133A2 #A2316C #A2A031 #31A268
square
#3133A2 #A2316C #A2A031 #31A268
split-complementary
#3133A2 #A26831 #6CA231
monochromatic
#151544 #232473 #3133A2 #484BC8 #7779D6

Accessibility & contrast

On white

9.88
#3133A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#3133A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3133A2
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3133A2#FFFFFF#000000##FFFFFF
##3133A21.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A5
Deuteranopia (green-blind)
#003EA0
Tritanopia (blue-blind)
#005166
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3133a2;
/* rgb */ color: rgb(49, 51, 162);
/* oklch */ color: oklch(39.8% 0.174 274.3);
Tailwind
colors: {
  custom: {
    50: '#796bbf',
    500: '#3133a2',
    950: '#000000',
  },
}
SCSS
$custom: #3133a2;
$custom-light: #796bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#3133a2",
  "rgb": {
    "r": 49,
    "g": 51,
    "b": 162
  },
  "hsl": {
    "h": 238.938,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39817,
    "c": 0.17407,
    "h": 274.3
  },
  "luminance": 0.05629
}

Semantic roles & 50–950 ramp

primary
#3133A2
secondary
#BEBD71
accent
#DA4BDD
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #3133A2

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

Preview Lab → · Contrast checker → · Palette generator →

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