#3331BE#3331BE

#3331BE is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.4% C 0.211 H 273.4°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#3331BE
RGBrgb(51, 49, 190)
HSLhsl(241, 59%, 47%)
HSVhsv(241, 74%, 75%)
CMYKcmyk(73.2%, 74.2%, 0%, 25.5%)
CIE-LABlab(30.92, 46.88, -72.75)
CIE-LCHlch(30.92, 86.54, 302.80°)
OKLaboklab(42.45% 0.0124 -0.2105)
OKLCHoklch(42.45% 0.211 273.4)
XYZxyz(11.7547, 6.6169, 49.3629)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3331BE #BCBE31
analogous
#3176BE #3331BE #7A31BE
triadic
#3331BE #BE3331 #31BE33
tetradic
#3331BE #BE3176 #BCBE31 #31BE7A
square
#3331BE #BE3176 #BCBE31 #31BE7A
split-complementary
#3331BE #BE7A31 #76BE31
monochromatic
#19185D #26248D #3331BE #5A58D4 #8A89E1

Accessibility & contrast

On white

9.04
#3331BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#3331BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3331BE
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3331BE#FFFFFF#000000##FFFFFF
##3331BE1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC2
Deuteranopia (green-blind)
#0042BB
Tritanopia (blue-blind)
#005A75
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3331be;
/* rgb */ color: rgb(51, 49, 190);
/* oklch */ color: oklch(42.4% 0.211 273.4);
Tailwind
colors: {
  custom: {
    50: '#806bd3',
    500: '#3331be',
    950: '#000000',
  },
}
SCSS
$custom: #3331be;
$custom-light: #806bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#3331be",
  "rgb": {
    "r": 51,
    "g": 49,
    "b": 190
  },
  "hsl": {
    "h": 240.851,
    "s": 58.996,
    "l": 46.863
  },
  "oklch": {
    "l": 0.42447,
    "c": 0.21084,
    "h": 273.4
  },
  "luminance": 0.06618
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3331BE

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

Preview Lab → · Contrast checker → · Palette generator →

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