#3133A6#3133A6

#3133A6 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.2% C 0.179 H 274.1°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#3133A6
RGBrgb(49, 51, 166)
HSLhsl(239, 54%, 42%)
HSVhsv(239, 70%, 65%)
CMYKcmyk(70.5%, 69.3%, 0%, 34.9%)
CIE-LABlab(28.83, 37.42, -61.88)
CIE-LCHlch(28.83, 72.31, 301.16°)
OKLaboklab(40.2% 0.0127 -0.1788)
OKLCHoklch(40.2% 0.179 274.1)
XYZxyz(9.3311, 5.7729, 36.6915)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3133A6 #A6A431
analogous
#316EA6 #3133A6 #6931A6
triadic
#3133A6 #A63133 #33A631
tetradic
#3133A6 #A6316E #A6A431 #31A669
square
#3133A6 #A6316E #A6A431 #31A669
split-complementary
#3133A6 #A66931 #6EA631
monochromatic
#151647 #232477 #3133A6 #4A4DCA #7A7BD8

Accessibility & contrast

On white

9.75
#3133A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3133A6
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3133A6#FFFFFF#000000##FFFFFF
##3133A61.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3133a6;
/* rgb */ color: rgb(49, 51, 166);
/* oklch */ color: oklch(40.2% 0.179 274.1);
Tailwind
colors: {
  custom: {
    50: '#7a6bc1',
    500: '#3133a6',
    950: '#000000',
  },
}
SCSS
$custom: #3133a6;
$custom-light: #7a6bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#3133a6",
  "rgb": {
    "r": 49,
    "g": 51,
    "b": 166
  },
  "hsl": {
    "h": 238.974,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40204,
    "c": 0.17928,
    "h": 274.1
  },
  "luminance": 0.05774
}

Semantic roles & 50–950 ramp

primary
#3133A6
secondary
#C0BF73
accent
#DB4ADE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3133A6

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

Preview Lab → · Contrast checker → · Palette generator →

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