#3330B4#3330B4

#3330B4 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.3% C 0.200 H 274.2°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#3330B4
RGBrgb(51, 48, 180)
HSLhsl(241, 58%, 45%)
HSVhsv(241, 73%, 71%)
CMYKcmyk(71.7%, 73.3%, 0%, 29.4%)
CIE-LABlab(29.69, 44.15, -68.85)
CIE-LCHlch(29.69, 81.79, 302.67°)
OKLaboklab(41.27% 0.0147 -0.1991)
OKLCHoklch(41.27% 0.2 274.2)
XYZxyz(10.6577, 6.1120, 43.7892)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3330B4 #B1B430
analogous
#306FB4 #3330B4 #7530B4
triadic
#3330B4 #B43330 #30B433
tetradic
#3330B4 #B4306F #B1B430 #30B475
square
#3330B4 #B4306F #B1B430 #30B475
split-complementary
#3330B4 #B47530 #6FB430
monochromatic
#181653 #252384 #3330B4 #5451D1 #8381DD

Accessibility & contrast

On white

9.45
#3330B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#3330B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3330B4
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3330B4#FFFFFF#000000##FFFFFF
##3330B41.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB8
Deuteranopia (green-blind)
#0040B2
Tritanopia (blue-blind)
#00566F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3330b4;
/* rgb */ color: rgb(51, 48, 180);
/* oklch */ color: oklch(41.3% 0.200 274.2);
Tailwind
colors: {
  custom: {
    50: '#7e6acc',
    500: '#3330b4',
    950: '#000000',
  },
}
SCSS
$custom: #3330b4;
$custom-light: #7e6acc;
$custom-dark: #000000;
JSON
{
  "hex": "#3330b4",
  "rgb": {
    "r": 51,
    "g": 48,
    "b": 180
  },
  "hsl": {
    "h": 241.364,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.41271,
    "c": 0.19964,
    "h": 274.2
  },
  "luminance": 0.06113
}

Semantic roles & 50–950 ramp

primary
#3330B4
secondary
#C5C679
accent
#E147DE
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3330B4

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

Preview Lab → · Contrast checker → · Palette generator →

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