#3133B6#3133B6

#3133B6 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.8% C 0.200 H 273.0°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#3133B6
RGBrgb(49, 51, 182)
HSLhsl(239, 58%, 45%)
HSVhsv(239, 73%, 71%)
CMYKcmyk(73.1%, 72%, 0%, 28.6%)
CIE-LABlab(30.39, 42.89, -68.89)
CIE-LCHlch(30.39, 81.15, 301.91°)
OKLaboklab(41.8% 0.0104 -0.1993)
OKLCHoklch(41.8% 0.2 273)
XYZxyz(10.8911, 6.3969, 44.9076)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3133B6 #B6B431
analogous
#3175B6 #3133B6 #7231B6
triadic
#3133B6 #B63133 #33B631
tetradic
#3133B6 #B63175 #B6B431 #31B672
square
#3133B6 #B63175 #B6B431 #31B672
split-complementary
#3133B6 #B67231 #75B631
monochromatic
#171856 #242586 #3133B6 #5355D1 #8485DE

Accessibility & contrast

On white

9.21
#3133B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#3133B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3133B6
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3133B6#FFFFFF#000000##FFFFFF
##3133B61.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBA
Deuteranopia (green-blind)
#0041B4
Tritanopia (blue-blind)
#005871
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3133b6;
/* rgb */ color: rgb(49, 51, 182);
/* oklch */ color: oklch(41.8% 0.200 273.0);
Tailwind
colors: {
  custom: {
    50: '#7e6ccd',
    500: '#3133b6',
    950: '#000000',
  },
}
SCSS
$custom: #3133b6;
$custom-light: #7e6ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#3133b6",
  "rgb": {
    "r": 49,
    "g": 51,
    "b": 182
  },
  "hsl": {
    "h": 239.098,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.41797,
    "c": 0.19955,
    "h": 273
  },
  "luminance": 0.06398
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3133B6

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

Preview Lab → · Contrast checker → · Palette generator →

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