#3133A4#3133A4

#3133A4 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.0% C 0.177 H 274.2°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#3133A4
RGBrgb(49, 51, 164)
HSLhsl(239, 54%, 42%)
HSVhsv(239, 70%, 64%)
CMYKcmyk(70.1%, 68.9%, 0%, 35.7%)
CIE-LABlab(28.64, 36.72, -60.98)
CIE-LCHlch(28.64, 71.19, 301.06°)
OKLaboklab(40.01% 0.013 -0.1762)
OKLCHoklch(40.01% 0.177 274.2)
XYZxyz(9.1491, 5.7001, 35.7328)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3133A4 #A4A231
analogous
#316CA4 #3133A4 #6931A4
triadic
#3133A4 #A43133 #33A431
tetradic
#3133A4 #A4316C #A4A231 #31A469
square
#3133A4 #A4316C #A4A231 #31A469
split-complementary
#3133A4 #A46931 #6CA431
monochromatic
#151646 #232475 #3133A4 #494CC9 #797AD7

Accessibility & contrast

On white

9.81
#3133A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#3133A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3133A4
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3133A4#FFFFFF#000000##FFFFFF
##3133A41.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A7
Deuteranopia (green-blind)
#003EA2
Tritanopia (blue-blind)
#005167
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3133a4;
/* rgb */ color: rgb(49, 51, 164);
/* oklch */ color: oklch(40.0% 0.177 274.2);
Tailwind
colors: {
  custom: {
    50: '#796bc0',
    500: '#3133a4',
    950: '#000000',
  },
}
SCSS
$custom: #3133a4;
$custom-light: #796bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#3133a4",
  "rgb": {
    "r": 49,
    "g": 51,
    "b": 164
  },
  "hsl": {
    "h": 238.957,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.4001,
    "c": 0.17669,
    "h": 274.2
  },
  "luminance": 0.05701
}

Semantic roles & 50–950 ramp

primary
#3133A4
secondary
#BFBE72
accent
#DB4ADD
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #3133A4

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

Preview Lab → · Contrast checker → · Palette generator →

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