#3133AB#3133AB

#3133AB is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.7% C 0.186 H 273.7°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#3133AB
RGBrgb(49, 51, 171)
HSLhsl(239, 55%, 43%)
HSVhsv(239, 71%, 67%)
CMYKcmyk(71.3%, 70.2%, 0%, 32.9%)
CIE-LABlab(29.31, 39.14, -64.10)
CIE-LCHlch(29.31, 75.11, 301.41°)
OKLaboklab(40.7% 0.012 -0.1853)
OKLCHoklch(40.7% 0.186 273.7)
XYZxyz(9.7987, 5.9599, 39.1542)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3133AB #ABA931
analogous
#3170AB #3133AB #6C31AB
triadic
#3133AB #AB3133 #33AB31
tetradic
#3133AB #AB3170 #ABA931 #31AB6C
square
#3133AB #AB3170 #ABA931 #31AB6C
split-complementary
#3133AB #AB6C31 #70AB31
monochromatic
#16174C #23257B #3133AB #4D4FCC #7D7EDA

Accessibility & contrast

On white

9.58
#3133AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#3133AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3133AB#FFFFFF#000000##FFFFFF
##3133AB1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAF
Deuteranopia (green-blind)
#003FA9
Tritanopia (blue-blind)
#00546B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3133ab;
/* rgb */ color: rgb(49, 51, 171);
/* oklch */ color: oklch(40.7% 0.186 273.7);
Tailwind
colors: {
  custom: {
    50: '#7b6bc5',
    500: '#3133ab',
    950: '#000000',
  },
}
SCSS
$custom: #3133ab;
$custom-light: #7b6bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#3133ab",
  "rgb": {
    "r": 49,
    "g": 51,
    "b": 171
  },
  "hsl": {
    "h": 239.016,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.40695,
    "c": 0.18571,
    "h": 273.7
  },
  "luminance": 0.05961
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3133AB

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

Preview Lab → · Contrast checker → · Palette generator →

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