#3133B3#3133B3

#3133B3 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.5% C 0.196 H 273.2°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#3133B3
RGBrgb(49, 51, 179)
HSLhsl(239, 57%, 45%)
HSVhsv(239, 73%, 70%)
CMYKcmyk(72.6%, 71.5%, 0%, 29.8%)
CIE-LABlab(30.09, 41.87, -67.59)
CIE-LCHlch(30.09, 79.51, 301.78°)
OKLaboklab(41.49% 0.0109 -0.1955)
OKLCHoklch(41.49% 0.196 273.2)
XYZxyz(10.5844, 6.2742, 43.2923)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3133B3 #B3B131
analogous
#3174B3 #3133B3 #7031B3
triadic
#3133B3 #B33133 #33B331
tetradic
#3133B3 #B33174 #B3B131 #31B370
square
#3133B3 #B33174 #B3B131 #31B370
split-complementary
#3133B3 #B37031 #74B331
monochromatic
#171853 #242583 #3133B3 #5254D0 #8283DD

Accessibility & contrast

On white

9.31
#3133B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#3133B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3133B3#FFFFFF#000000##FFFFFF
##3133B31.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB7
Deuteranopia (green-blind)
#0041B1
Tritanopia (blue-blind)
#00576F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3133b3;
/* rgb */ color: rgb(49, 51, 179);
/* oklch */ color: oklch(41.5% 0.196 273.2);
Tailwind
colors: {
  custom: {
    50: '#7d6ccb',
    500: '#3133b3',
    950: '#000000',
  },
}
SCSS
$custom: #3133b3;
$custom-light: #7d6ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#3133b3",
  "rgb": {
    "r": 49,
    "g": 51,
    "b": 179
  },
  "hsl": {
    "h": 239.077,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.41493,
    "c": 0.19581,
    "h": 273.2
  },
  "luminance": 0.06275
}

Semantic roles & 50–950 ramp

primary
#3133B3
secondary
#C6C57A
accent
#DE48E0
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3133B3

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

Preview Lab → · Contrast checker → · Palette generator →

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