#3133B4#3133B4

#3133B4 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.6% C 0.197 H 273.1°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#3133B4
RGBrgb(49, 51, 180)
HSLhsl(239, 57%, 45%)
HSVhsv(239, 73%, 71%)
CMYKcmyk(72.8%, 71.7%, 0%, 29.4%)
CIE-LABlab(30.19, 42.21, -68.03)
CIE-LCHlch(30.19, 80.06, 301.82°)
OKLaboklab(41.59% 0.0107 -0.1968)
OKLCHoklch(41.59% 0.197 273.1)
XYZxyz(10.6859, 6.3148, 43.8269)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3133B4 #B4B231
analogous
#3175B4 #3133B4 #7131B4
triadic
#3133B4 #B43133 #33B431
tetradic
#3133B4 #B43175 #B4B231 #31B471
square
#3133B4 #B43175 #B4B231 #31B471
split-complementary
#3133B4 #B47131 #75B431
monochromatic
#171854 #242584 #3133B4 #5254D0 #8284DD

Accessibility & contrast

On white

9.28
#3133B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##3133B4#FFFFFF#000000##FFFFFF
##3133B41.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB8
Deuteranopia (green-blind)
#0041B2
Tritanopia (blue-blind)
#005770
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3133b4;
/* rgb */ color: rgb(49, 51, 180);
/* oklch */ color: oklch(41.6% 0.197 273.1);
Tailwind
colors: {
  custom: {
    50: '#7d6ccc',
    500: '#3133b4',
    950: '#000000',
  },
}
SCSS
$custom: #3133b4;
$custom-light: #7d6ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#3133b4",
  "rgb": {
    "r": 49,
    "g": 51,
    "b": 180
  },
  "hsl": {
    "h": 239.084,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.41594,
    "c": 0.19706,
    "h": 273.1
  },
  "luminance": 0.06316
}

Semantic roles & 50–950 ramp

primary
#3133B4
secondary
#C6C57B
accent
#DE47E0
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3133B4

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

Preview Lab → · Contrast checker → · Palette generator →

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