#3133B8#3133B8

#3133B8 is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.0% C 0.202 H 272.9°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#3133B8
RGBrgb(49, 51, 184)
HSLhsl(239, 58%, 46%)
HSVhsv(239, 73%, 72%)
CMYKcmyk(73.4%, 72.3%, 0%, 27.8%)
CIE-LABlab(30.59, 43.56, -69.74)
CIE-LCHlch(30.59, 82.23, 301.99°)
OKLaboklab(42% 0.0101 -0.2018)
OKLCHoklch(42% 0.202 272.9)
XYZxyz(11.0993, 6.4802, 46.0040)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3133B8 #B8B631
analogous
#3176B8 #3133B8 #7231B8
triadic
#3133B8 #B83133 #33B831
tetradic
#3133B8 #B83176 #B8B631 #31B872
square
#3133B8 #B83176 #B8B631 #31B872
split-complementary
#3133B8 #B87231 #76B831
monochromatic
#171857 #242688 #3133B8 #5556D2 #8586DE

Accessibility & contrast

On white

9.15
#3133B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#3133B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3133B8
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3133B8#FFFFFF#000000##FFFFFF
##3133B81.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBC
Deuteranopia (green-blind)
#0041B6
Tritanopia (blue-blind)
#005972
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3133b8;
/* rgb */ color: rgb(49, 51, 184);
/* oklch */ color: oklch(42.0% 0.202 272.9);
Tailwind
colors: {
  custom: {
    50: '#7e6ccf',
    500: '#3133b8',
    950: '#000000',
  },
}
SCSS
$custom: #3133b8;
$custom-light: #7e6ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#3133b8",
  "rgb": {
    "r": 49,
    "g": 51,
    "b": 184
  },
  "hsl": {
    "h": 239.111,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.42,
    "c": 0.20203,
    "h": 272.9
  },
  "luminance": 0.06481
}

Semantic roles & 50–950 ramp

primary
#3133B8
secondary
#C8C77D
accent
#DF47E1
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3133B8

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

Preview Lab → · Contrast checker → · Palette generator →

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