#3331BC#3331BC

#3331BC is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.2% C 0.208 H 273.5°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#3331BC
RGBrgb(51, 49, 188)
HSLhsl(241, 59%, 46%)
HSVhsv(241, 74%, 74%)
CMYKcmyk(72.9%, 73.9%, 0%, 26.3%)
CIE-LABlab(30.71, 46.22, -71.91)
CIE-LCHlch(30.71, 85.48, 302.73°)
OKLaboklab(42.24% 0.0128 -0.208)
OKLCHoklch(42.24% 0.208 273.5)
XYZxyz(11.5376, 6.5301, 48.2196)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3331BC #BABC31
analogous
#3175BC #3331BC #7931BC
triadic
#3331BC #BC3331 #31BC33
tetradic
#3331BC #BC3175 #BABC31 #31BC79
square
#3331BC #BC3175 #BABC31 #31BC79
split-complementary
#3331BC #BC7931 #75BC31
monochromatic
#19185B #26248B #3331BC #5957D3 #8988E0

Accessibility & contrast

On white

9.11
#3331BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#3331BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3331BC
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3331BC#FFFFFF#000000##FFFFFF
##3331BC1.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC0
Deuteranopia (green-blind)
#0042BA
Tritanopia (blue-blind)
#005974
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3331bc;
/* rgb */ color: rgb(51, 49, 188);
/* oklch */ color: oklch(42.2% 0.208 273.5);
Tailwind
colors: {
  custom: {
    50: '#806bd1',
    500: '#3331bc',
    950: '#000000',
  },
}
SCSS
$custom: #3331bc;
$custom-light: #806bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#3331bc",
  "rgb": {
    "r": 51,
    "g": 49,
    "b": 188
  },
  "hsl": {
    "h": 240.863,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.42239,
    "c": 0.20842,
    "h": 273.5
  },
  "luminance": 0.06531
}

Semantic roles & 50–950 ramp

primary
#3331BC
secondary
#C9CA7F
accent
#E246E0
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3331BC

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

Preview Lab → · Contrast checker → · Palette generator →

#3331BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva