#3133B5#3133B5

#3133B5 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.7% C 0.198 H 273.1°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#3133B5
RGBrgb(49, 51, 181)
HSLhsl(239, 57%, 45%)
HSVhsv(239, 73%, 71%)
CMYKcmyk(72.9%, 71.8%, 0%, 29%)
CIE-LABlab(30.29, 42.55, -68.46)
CIE-LCHlch(30.29, 80.60, 301.86°)
OKLaboklab(41.7% 0.0106 -0.198)
OKLCHoklch(41.7% 0.198 273.1)
XYZxyz(10.7881, 6.3557, 44.3653)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3133B5 #B5B331
analogous
#3175B5 #3133B5 #7131B5
triadic
#3133B5 #B53133 #33B531
tetradic
#3133B5 #B53175 #B5B331 #31B571
square
#3133B5 #B53175 #B5B331 #31B571
split-complementary
#3133B5 #B57131 #75B531
monochromatic
#171855 #242585 #3133B5 #5355D0 #8384DD

Accessibility & contrast

On white

9.25
#3133B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#3133B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3133B5#FFFFFF#000000##FFFFFF
##3133B51.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB9
Deuteranopia (green-blind)
#0041B3
Tritanopia (blue-blind)
#005870
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3133b5;
/* rgb */ color: rgb(49, 51, 181);
/* oklch */ color: oklch(41.7% 0.198 273.1);
Tailwind
colors: {
  custom: {
    50: '#7d6ccc',
    500: '#3133b5',
    950: '#000000',
  },
}
SCSS
$custom: #3133b5;
$custom-light: #7d6ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#3133b5",
  "rgb": {
    "r": 49,
    "g": 51,
    "b": 181
  },
  "hsl": {
    "h": 239.091,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.41695,
    "c": 0.19831,
    "h": 273.1
  },
  "luminance": 0.06357
}

Semantic roles & 50–950 ramp

primary
#3133B5
secondary
#C7C67B
accent
#DE47E1
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #3133B5

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

Preview Lab → · Contrast checker → · Palette generator →

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