#3330A2#3330A2

#3330A2 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.5% C 0.177 H 275.7°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#3330A2
RGBrgb(51, 48, 162)
HSLhsl(242, 54%, 41%)
HSVhsv(242, 70%, 64%)
CMYKcmyk(68.5%, 70.4%, 0%, 36.5%)
CIE-LABlab(27.91, 38.12, -60.96)
CIE-LCHlch(27.91, 71.90, 302.02°)
OKLaboklab(39.46% 0.0177 -0.1761)
OKLCHoklch(39.46% 0.177 275.7)
XYZxyz(8.9416, 5.4255, 34.7514)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3330A2 #9FA230
analogous
#3066A2 #3330A2 #6C30A2
triadic
#3330A2 #A23330 #30A233
tetradic
#3330A2 #A23066 #9FA230 #30A26C
square
#3330A2 #A23066 #9FA230 #30A26C
split-complementary
#3330A2 #A26C30 #66A230
monochromatic
#151444 #242273 #3330A2 #4A47C8 #7976D6

Accessibility & contrast

On white

10.07
#3330A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#3330A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3330A2
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3330A2#FFFFFF#000000##FFFFFF
##3330A21.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A5
Deuteranopia (green-blind)
#003DA0
Tritanopia (blue-blind)
#004F65
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3330a2;
/* rgb */ color: rgb(51, 48, 162);
/* oklch */ color: oklch(39.5% 0.177 275.7);
Tailwind
colors: {
  custom: {
    50: '#7a69bf',
    500: '#3330a2',
    950: '#000000',
  },
}
SCSS
$custom: #3330a2;
$custom-light: #7a69bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3330a2",
  "rgb": {
    "r": 51,
    "g": 48,
    "b": 162
  },
  "hsl": {
    "h": 241.579,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.39462,
    "c": 0.17699,
    "h": 275.7
  },
  "luminance": 0.05426
}

Semantic roles & 50–950 ramp

primary
#3330A2
secondary
#BCBE6F
accent
#DE4ADA
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #3330A2

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

Preview Lab → · Contrast checker → · Palette generator →

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