#3133A9#3133A9

#3133A9 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.5% C 0.183 H 273.9°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#3133A9
RGBrgb(49, 51, 169)
HSLhsl(239, 55%, 43%)
HSVhsv(239, 71%, 66%)
CMYKcmyk(71%, 69.8%, 0%, 33.7%)
CIE-LABlab(29.12, 38.45, -63.22)
CIE-LCHlch(29.12, 73.99, 301.31°)
OKLaboklab(40.5% 0.0123 -0.1827)
OKLCHoklch(40.5% 0.183 273.9)
XYZxyz(9.6095, 5.8843, 38.1578)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3133A9 #A9A731
analogous
#316FA9 #3133A9 #6B31A9
triadic
#3133A9 #A93133 #33A931
tetradic
#3133A9 #A9316F #A9A731 #31A96B
square
#3133A9 #A9316F #A9A731 #31A96B
split-complementary
#3133A9 #A96B31 #6FA931
monochromatic
#15164A #23257A #3133A9 #4C4ECB #7C7DD9

Accessibility & contrast

On white

9.65
#3133A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#3133A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3133A9
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3133A9#FFFFFF#000000##FFFFFF
##3133A91.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAD
Deuteranopia (green-blind)
#003FA7
Tritanopia (blue-blind)
#00536A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3133a9;
/* rgb */ color: rgb(49, 51, 169);
/* oklch */ color: oklch(40.5% 0.183 273.9);
Tailwind
colors: {
  custom: {
    50: '#7b6bc4',
    500: '#3133a9',
    950: '#000000',
  },
}
SCSS
$custom: #3133a9;
$custom-light: #7b6bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#3133a9",
  "rgb": {
    "r": 49,
    "g": 51,
    "b": 169
  },
  "hsl": {
    "h": 239,
    "s": 55.046,
    "l": 42.745
  },
  "oklch": {
    "l": 0.40498,
    "c": 0.18314,
    "h": 273.9
  },
  "luminance": 0.05885
}

Semantic roles & 50–950 ramp

primary
#3133A9
secondary
#C1C074
accent
#DC49DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3133A9

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

Preview Lab → · Contrast checker → · Palette generator →

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