#3133A3#3133A3

#3133A3 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.9% C 0.175 H 274.3°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#3133A3
RGBrgb(49, 51, 163)
HSLhsl(239, 54%, 42%)
HSVhsv(239, 70%, 64%)
CMYKcmyk(69.9%, 68.7%, 0%, 36.1%)
CIE-LABlab(28.55, 36.37, -60.53)
CIE-LCHlch(28.55, 70.62, 301.00°)
OKLaboklab(39.91% 0.0131 -0.1749)
OKLCHoklch(39.91% 0.175 274.3)
XYZxyz(9.0591, 5.6641, 35.2591)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3133A3 #A3A131
analogous
#316CA3 #3133A3 #6831A3
triadic
#3133A3 #A33133 #33A331
tetradic
#3133A3 #A3316C #A3A131 #31A368
square
#3133A3 #A3316C #A3A131 #31A368
split-complementary
#3133A3 #A36831 #6CA331
monochromatic
#151645 #232474 #3133A3 #494BC8 #787AD6

Accessibility & contrast

On white

9.85
#3133A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3133A3
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3133A3#FFFFFF#000000##FFFFFF
##3133A31.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A6
Deuteranopia (green-blind)
#003EA1
Tritanopia (blue-blind)
#005167
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3133a3;
/* rgb */ color: rgb(49, 51, 163);
/* oklch */ color: oklch(39.9% 0.175 274.3);
Tailwind
colors: {
  custom: {
    50: '#796bbf',
    500: '#3133a3',
    950: '#000000',
  },
}
SCSS
$custom: #3133a3;
$custom-light: #796bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#3133a3",
  "rgb": {
    "r": 49,
    "g": 51,
    "b": 163
  },
  "hsl": {
    "h": 238.947,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.39913,
    "c": 0.17538,
    "h": 274.3
  },
  "luminance": 0.05665
}

Semantic roles & 50–950 ramp

primary
#3133A3
secondary
#BFBD71
accent
#DB4BDD
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #3133A3

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

Preview Lab → · Contrast checker → · Palette generator →

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