#3330AA#3330AA

#3330AA is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.3% C 0.187 H 275.0°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#3330AA
RGBrgb(51, 48, 170)
HSLhsl(241, 56%, 43%)
HSVhsv(241, 72%, 67%)
CMYKcmyk(70%, 71.8%, 0%, 33.3%)
CIE-LABlab(28.69, 40.82, -64.51)
CIE-LCHlch(28.69, 76.34, 302.32°)
OKLaboklab(40.26% 0.0165 -0.1865)
OKLCHoklch(40.26% 0.187 275)
XYZxyz(9.6755, 5.7191, 38.6164)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3330AA #A7AA30
analogous
#306AAA #3330AA #7030AA
triadic
#3330AA #AA3330 #30AA33
tetradic
#3330AA #AA306A #A7AA30 #30AA70
square
#3330AA #AA306A #A7AA30 #30AA70
split-complementary
#3330AA #AA7030 #6AAA30
monochromatic
#16154B #25237A #3330AA #4E4BCC #7D7BDA

Accessibility & contrast

On white

9.79
#3330AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#3330AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3330AA#FFFFFF#000000##FFFFFF
##3330AA1.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AE
Deuteranopia (green-blind)
#003EA8
Tritanopia (blue-blind)
#00526A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3330aa;
/* rgb */ color: rgb(51, 48, 170);
/* oklch */ color: oklch(40.3% 0.187 275.0);
Tailwind
colors: {
  custom: {
    50: '#7c6ac4',
    500: '#3330aa',
    950: '#000000',
  },
}
SCSS
$custom: #3330aa;
$custom-light: #7c6ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#3330aa",
  "rgb": {
    "r": 51,
    "g": 48,
    "b": 170
  },
  "hsl": {
    "h": 241.475,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.40256,
    "c": 0.18719,
    "h": 275
  },
  "luminance": 0.0572
}

Semantic roles & 50–950 ramp

primary
#3330AA
secondary
#C0C274
accent
#DF49DC
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3330AA

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

Preview Lab → · Contrast checker → · Palette generator →

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