#3330A3#3330A3

#3330A3 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.6% C 0.178 H 275.7°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#3330A3
RGBrgb(51, 48, 163)
HSLhsl(242, 55%, 41%)
HSVhsv(242, 71%, 64%)
CMYKcmyk(68.7%, 70.6%, 0%, 36.1%)
CIE-LABlab(28.01, 38.46, -61.41)
CIE-LCHlch(28.01, 72.46, 302.06°)
OKLaboklab(39.56% 0.0176 -0.1774)
OKLCHoklch(39.56% 0.178 275.7)
XYZxyz(9.0309, 5.4612, 35.2214)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3330A3 #A0A330
analogous
#3067A3 #3330A3 #6D30A3
triadic
#3330A3 #A33330 #30A333
tetradic
#3330A3 #A33067 #A0A330 #30A36D
square
#3330A3 #A33067 #A0A330 #30A36D
split-complementary
#3330A3 #A36D30 #67A330
monochromatic
#151444 #242274 #3330A3 #4B47C9 #7977D7

Accessibility & contrast

On white

10.04
#3330A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3330A3
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3330A3#FFFFFF#000000##FFFFFF
##3330A31.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A6
Deuteranopia (green-blind)
#003DA1
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3330a3;
/* rgb */ color: rgb(51, 48, 163);
/* oklch */ color: oklch(39.6% 0.178 275.7);
Tailwind
colors: {
  custom: {
    50: '#7a69bf',
    500: '#3330a3',
    950: '#000000',
  },
}
SCSS
$custom: #3330a3;
$custom-light: #7a69bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3330a3",
  "rgb": {
    "r": 51,
    "g": 48,
    "b": 163
  },
  "hsl": {
    "h": 241.565,
    "s": 54.502,
    "l": 41.373
  },
  "oklch": {
    "l": 0.3956,
    "c": 0.17828,
    "h": 275.7
  },
  "luminance": 0.05462
}

Semantic roles & 50–950 ramp

primary
#3330A3
secondary
#BDBF70
accent
#DE4ADA
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3330A3

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

Preview Lab → · Contrast checker → · Palette generator →

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