#3330A5#3330A5

#3330A5 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.8% C 0.181 H 275.5°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#3330A5
RGBrgb(51, 48, 165)
HSLhsl(242, 55%, 42%)
HSVhsv(242, 71%, 65%)
CMYKcmyk(69.1%, 70.9%, 0%, 35.3%)
CIE-LABlab(28.20, 39.14, -62.30)
CIE-LCHlch(28.20, 73.58, 302.13°)
OKLaboklab(39.76% 0.0173 -0.18)
OKLCHoklch(39.76% 0.181 275.5)
XYZxyz(9.2115, 5.5335, 36.1726)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3330A5 #A2A530
analogous
#3068A5 #3330A5 #6D30A5
triadic
#3330A5 #A53330 #30A533
tetradic
#3330A5 #A53068 #A2A530 #30A56D
square
#3330A5 #A53068 #A2A530 #30A56D
split-complementary
#3330A5 #A56D30 #68A530
monochromatic
#161446 #242276 #3330A5 #4C48CA #7A78D8

Accessibility & contrast

On white

9.97
#3330A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#3330A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3330A5#FFFFFF#000000##FFFFFF
##3330A51.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A9
Deuteranopia (green-blind)
#003DA3
Tritanopia (blue-blind)
#005067
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3330a5;
/* rgb */ color: rgb(51, 48, 165);
/* oklch */ color: oklch(39.8% 0.181 275.5);
Tailwind
colors: {
  custom: {
    50: '#7b69c1',
    500: '#3330a5',
    950: '#000000',
  },
}
SCSS
$custom: #3330a5;
$custom-light: #7b69c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3330a5",
  "rgb": {
    "r": 51,
    "g": 48,
    "b": 165
  },
  "hsl": {
    "h": 241.538,
    "s": 54.93,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39758,
    "c": 0.18084,
    "h": 275.5
  },
  "luminance": 0.05534
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3330A5

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

Preview Lab → · Contrast checker → · Palette generator →

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