#3133B7#3133B7

#3133B7 is a dark, highly saturated blue. Relative luminance 0.064; OKLCH L 41.9% C 0.201 H 272.9°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#3133B7
RGBrgb(49, 51, 183)
HSLhsl(239, 58%, 45%)
HSVhsv(239, 73%, 72%)
CMYKcmyk(73.2%, 72.1%, 0%, 28.2%)
CIE-LABlab(30.49, 43.22, -69.31)
CIE-LCHlch(30.49, 81.69, 301.95°)
OKLaboklab(41.9% 0.0103 -0.2005)
OKLCHoklch(41.9% 0.201 272.9)
XYZxyz(10.9948, 6.4384, 45.4539)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3133B7 #B7B531
analogous
#3176B7 #3133B7 #7231B7
triadic
#3133B7 #B73133 #33B731
tetradic
#3133B7 #B73176 #B7B531 #31B772
square
#3133B7 #B73176 #B7B531 #31B772
split-complementary
#3133B7 #B77231 #76B731
monochromatic
#171856 #242687 #3133B7 #5456D1 #8486DE

Accessibility & contrast

On white

9.18
#3133B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#3133B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3133B7#FFFFFF#000000##FFFFFF
##3133B71.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBB
Deuteranopia (green-blind)
#0041B5
Tritanopia (blue-blind)
#005872
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3133b7;
/* rgb */ color: rgb(49, 51, 183);
/* oklch */ color: oklch(41.9% 0.201 272.9);
Tailwind
colors: {
  custom: {
    50: '#7e6cce',
    500: '#3133b7',
    950: '#000000',
  },
}
SCSS
$custom: #3133b7;
$custom-light: #7e6cce;
$custom-dark: #000000;
JSON
{
  "hex": "#3133b7",
  "rgb": {
    "r": 49,
    "g": 51,
    "b": 183
  },
  "hsl": {
    "h": 239.104,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.41898,
    "c": 0.20079,
    "h": 272.9
  },
  "luminance": 0.0644
}

Semantic roles & 50–950 ramp

primary
#3133B7
secondary
#C8C67C
accent
#DF47E1
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #3133B7

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

Preview Lab → · Contrast checker → · Palette generator →

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