#3330A4#3330A4

#3330A4 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.7% C 0.180 H 275.6°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#3330A4
RGBrgb(51, 48, 164)
HSLhsl(242, 55%, 42%)
HSVhsv(242, 71%, 64%)
CMYKcmyk(68.9%, 70.7%, 0%, 35.7%)
CIE-LABlab(28.11, 38.80, -61.86)
CIE-LCHlch(28.11, 73.02, 302.10°)
OKLaboklab(39.66% 0.0174 -0.1787)
OKLCHoklch(39.66% 0.18 275.6)
XYZxyz(9.1208, 5.4972, 35.6952)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3330A4 #A1A430
analogous
#3067A4 #3330A4 #6D30A4
triadic
#3330A4 #A43330 #30A433
tetradic
#3330A4 #A43067 #A1A430 #30A46D
square
#3330A4 #A43067 #A1A430 #30A46D
split-complementary
#3330A4 #A46D30 #67A430
monochromatic
#161445 #242275 #3330A4 #4B48C9 #7A77D7

Accessibility & contrast

On white

10.00
#3330A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#3330A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3330A4
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3330A4#FFFFFF#000000##FFFFFF
##3330A41.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A7
Deuteranopia (green-blind)
#003DA2
Tritanopia (blue-blind)
#005066
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3330a4;
/* rgb */ color: rgb(51, 48, 164);
/* oklch */ color: oklch(39.7% 0.180 275.6);
Tailwind
colors: {
  custom: {
    50: '#7b69c0',
    500: '#3330a4',
    950: '#000000',
  },
}
SCSS
$custom: #3330a4;
$custom-light: #7b69c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3330a4",
  "rgb": {
    "r": 51,
    "g": 48,
    "b": 164
  },
  "hsl": {
    "h": 241.552,
    "s": 54.717,
    "l": 41.569
  },
  "oklch": {
    "l": 0.39659,
    "c": 0.17956,
    "h": 275.6
  },
  "luminance": 0.05498
}

Semantic roles & 50–950 ramp

primary
#3330A4
secondary
#BDBF70
accent
#DE4ADA
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3330A4

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

Preview Lab → · Contrast checker → · Palette generator →

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