#3331BB#3331BB

#3331BB is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.1% C 0.207 H 273.6°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#3331BB
RGBrgb(51, 49, 187)
HSLhsl(241, 58%, 46%)
HSVhsv(241, 74%, 73%)
CMYKcmyk(72.7%, 73.8%, 0%, 26.7%)
CIE-LABlab(30.61, 45.89, -71.49)
CIE-LCHlch(30.61, 84.95, 302.70°)
OKLaboklab(42.14% 0.013 -0.2068)
OKLCHoklch(42.14% 0.207 273.6)
XYZxyz(11.4302, 6.4871, 47.6538)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3331BB #B9BB31
analogous
#3174BB #3331BB #7831BB
triadic
#3331BB #BB3331 #31BB33
tetradic
#3331BB #BB3174 #B9BB31 #31BB78
square
#3331BB #BB3174 #B9BB31 #31BB78
split-complementary
#3331BB #BB7831 #74BB31
monochromatic
#19185A #26248B #3331BB #5856D3 #8887E0

Accessibility & contrast

On white

9.14
#3331BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#3331BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3331BB
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3331BB#FFFFFF#000000##FFFFFF
##3331BB1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBF
Deuteranopia (green-blind)
#0041B9
Tritanopia (blue-blind)
#005973
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3331bb;
/* rgb */ color: rgb(51, 49, 187);
/* oklch */ color: oklch(42.1% 0.207 273.6);
Tailwind
colors: {
  custom: {
    50: '#806bd1',
    500: '#3331bb',
    950: '#000000',
  },
}
SCSS
$custom: #3331bb;
$custom-light: #806bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#3331bb",
  "rgb": {
    "r": 51,
    "g": 49,
    "b": 187
  },
  "hsl": {
    "h": 240.87,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.42136,
    "c": 0.20721,
    "h": 273.6
  },
  "luminance": 0.06488
}

Semantic roles & 50–950 ramp

primary
#3331BB
secondary
#C8C97F
accent
#E246DF
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3331BB

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

Preview Lab → · Contrast checker → · Palette generator →

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