#3133A5#3133A5

#3133A5 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.1% C 0.178 H 274.1°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#3133A5
RGBrgb(49, 51, 165)
HSLhsl(239, 54%, 42%)
HSVhsv(239, 70%, 65%)
CMYKcmyk(70.3%, 69.1%, 0%, 35.3%)
CIE-LABlab(28.74, 37.07, -61.43)
CIE-LCHlch(28.74, 71.75, 301.11°)
OKLaboklab(40.11% 0.0128 -0.1775)
OKLCHoklch(40.11% 0.178 274.1)
XYZxyz(9.2397, 5.7364, 36.2103)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3133A5 #A5A331
analogous
#316DA5 #3133A5 #6931A5
triadic
#3133A5 #A53133 #33A531
tetradic
#3133A5 #A5316D #A5A331 #31A569
square
#3133A5 #A5316D #A5A331 #31A569
split-complementary
#3133A5 #A56931 #6DA531
monochromatic
#151647 #232476 #3133A5 #4A4CC9 #797BD7

Accessibility & contrast

On white

9.78
#3133A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#3133A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3133A5
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3133A5#FFFFFF#000000##FFFFFF
##3133A51.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A8
Deuteranopia (green-blind)
#003EA3
Tritanopia (blue-blind)
#005268
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3133a5;
/* rgb */ color: rgb(49, 51, 165);
/* oklch */ color: oklch(40.1% 0.178 274.1);
Tailwind
colors: {
  custom: {
    50: '#7a6bc1',
    500: '#3133a5',
    950: '#000000',
  },
}
SCSS
$custom: #3133a5;
$custom-light: #7a6bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#3133a5",
  "rgb": {
    "r": 49,
    "g": 51,
    "b": 165
  },
  "hsl": {
    "h": 238.966,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40107,
    "c": 0.17798,
    "h": 274.1
  },
  "luminance": 0.05737
}

Semantic roles & 50–950 ramp

primary
#3133A5
secondary
#C0BE72
accent
#DB4ADE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #3133A5

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

Preview Lab → · Contrast checker → · Palette generator →

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