#3133AA#3133AA

#3133AA is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.6% C 0.184 H 273.8°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#3133AA
RGBrgb(49, 51, 170)
HSLhsl(239, 55%, 43%)
HSVhsv(239, 71%, 67%)
CMYKcmyk(71.2%, 70%, 0%, 33.3%)
CIE-LABlab(29.21, 38.80, -63.66)
CIE-LCHlch(29.21, 74.55, 301.36°)
OKLaboklab(40.6% 0.0122 -0.184)
OKLCHoklch(40.6% 0.184 273.8)
XYZxyz(9.7037, 5.9220, 38.6541)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3133AA #AAA831
analogous
#3170AA #3133AA #6B31AA
triadic
#3133AA #AA3133 #33AA31
tetradic
#3133AA #AA3170 #AAA831 #31AA6B
square
#3133AA #AA3170 #AAA831 #31AA6B
split-complementary
#3133AA #AA6B31 #70AA31
monochromatic
#16164B #23257A #3133AA #4D4FCC #7C7ED9

Accessibility & contrast

On white

9.61
#3133AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##3133AA#FFFFFF#000000##FFFFFF
##3133AA1.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAE
Deuteranopia (green-blind)
#003FA8
Tritanopia (blue-blind)
#00546A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3133aa;
/* rgb */ color: rgb(49, 51, 170);
/* oklch */ color: oklch(40.6% 0.184 273.8);
Tailwind
colors: {
  custom: {
    50: '#7b6bc4',
    500: '#3133aa',
    950: '#000000',
  },
}
SCSS
$custom: #3133aa;
$custom-light: #7b6bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#3133aa",
  "rgb": {
    "r": 49,
    "g": 51,
    "b": 170
  },
  "hsl": {
    "h": 239.008,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.40596,
    "c": 0.18442,
    "h": 273.8
  },
  "luminance": 0.05923
}

Semantic roles & 50–950 ramp

primary
#3133AA
secondary
#C2C175
accent
#DC49DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3133AA

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

Preview Lab → · Contrast checker → · Palette generator →

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