#3133A1#3133A1

#3133A1 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.7% C 0.173 H 274.4°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#3133A1
RGBrgb(49, 51, 161)
HSLhsl(239, 53%, 41%)
HSVhsv(239, 70%, 63%)
CMYKcmyk(69.6%, 68.3%, 0%, 36.9%)
CIE-LABlab(28.36, 35.68, -59.63)
CIE-LCHlch(28.36, 69.49, 300.89°)
OKLaboklab(39.72% 0.0133 -0.1722)
OKLCHoklch(39.72% 0.173 274.4)
XYZxyz(8.8813, 5.5930, 34.3228)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3133A1 #A19F31
analogous
#316BA1 #3133A1 #6731A1
triadic
#3133A1 #A13133 #33A131
tetradic
#3133A1 #A1316B #A19F31 #31A167
square
#3133A1 #A1316B #A19F31 #31A167
split-complementary
#3133A1 #A16731 #6BA131
monochromatic
#141543 #232472 #3133A1 #484AC7 #7779D6

Accessibility & contrast

On white

9.91
#3133A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#3133A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3133A1
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3133A1#FFFFFF#000000##FFFFFF
##3133A11.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A4
Deuteranopia (green-blind)
#003E9F
Tritanopia (blue-blind)
#005065
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3133a1;
/* rgb */ color: rgb(49, 51, 161);
/* oklch */ color: oklch(39.7% 0.173 274.4);
Tailwind
colors: {
  custom: {
    50: '#796bbe',
    500: '#3133a1',
    950: '#000000',
  },
}
SCSS
$custom: #3133a1;
$custom-light: #796bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#3133a1",
  "rgb": {
    "r": 49,
    "g": 51,
    "b": 161
  },
  "hsl": {
    "h": 238.929,
    "s": 53.333,
    "l": 41.176
  },
  "oklch": {
    "l": 0.39721,
    "c": 0.17275,
    "h": 274.4
  },
  "luminance": 0.05594
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3133A1

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

Preview Lab → · Contrast checker → · Palette generator →

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