#3330B3#3330B3

#3330B3 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.2% C 0.198 H 274.3°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#3330B3
RGBrgb(51, 48, 179)
HSLhsl(241, 58%, 45%)
HSVhsv(241, 73%, 70%)
CMYKcmyk(71.5%, 73.2%, 0%, 29.8%)
CIE-LABlab(29.59, 43.82, -68.42)
CIE-LCHlch(29.59, 81.25, 302.64°)
OKLaboklab(41.17% 0.0149 -0.1978)
OKLCHoklch(41.17% 0.198 274.3)
XYZxyz(10.5562, 6.0714, 43.2547)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3330B3 #B0B330
analogous
#306FB3 #3330B3 #7530B3
triadic
#3330B3 #B33330 #30B333
tetradic
#3330B3 #B3306F #B0B330 #30B375
square
#3330B3 #B3306F #B0B330 #30B375
split-complementary
#3330B3 #B37530 #6FB330
monochromatic
#181652 #252383 #3330B3 #5350D0 #8280DD

Accessibility & contrast

On white

9.48
#3330B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#3330B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3330B3
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3330B3#FFFFFF#000000##FFFFFF
##3330B31.009.482.219.48
#FFFFFF9.481.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB7
Deuteranopia (green-blind)
#0040B1
Tritanopia (blue-blind)
#00556F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3330b3;
/* rgb */ color: rgb(51, 48, 179);
/* oklch */ color: oklch(41.2% 0.198 274.3);
Tailwind
colors: {
  custom: {
    50: '#7e6acb',
    500: '#3330b3',
    950: '#000000',
  },
}
SCSS
$custom: #3330b3;
$custom-light: #7e6acb;
$custom-dark: #000000;
JSON
{
  "hex": "#3330b3",
  "rgb": {
    "r": 51,
    "g": 48,
    "b": 179
  },
  "hsl": {
    "h": 241.374,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.41168,
    "c": 0.19841,
    "h": 274.3
  },
  "luminance": 0.06072
}

Semantic roles & 50–950 ramp

primary
#3330B3
secondary
#C4C679
accent
#E147DD
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3330B3

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

Preview Lab → · Contrast checker → · Palette generator →

#3330B3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva