#3330AF#3330AF

#3330AF is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.8% C 0.193 H 274.6°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#3330AF
RGBrgb(51, 48, 175)
HSLhsl(241, 57%, 44%)
HSVhsv(241, 73%, 69%)
CMYKcmyk(70.9%, 72.6%, 0%, 31.4%)
CIE-LABlab(29.19, 42.49, -66.69)
CIE-LCHlch(29.19, 79.08, 302.50°)
OKLaboklab(40.76% 0.0156 -0.1928)
OKLCHoklch(40.76% 0.193 274.6)
XYZxyz(10.1575, 5.9119, 41.1549)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3330AF #ACAF30
analogous
#306CAF #3330AF #7230AF
triadic
#3330AF #AF3330 #30AF33
tetradic
#3330AF #AF306C #ACAF30 #30AF72
square
#3330AF #AF306C #ACAF30 #30AF72
split-complementary
#3330AF #AF7230 #6CAF30
monochromatic
#17164F #25237F #3330AF #514ECE #807EDC

Accessibility & contrast

On white

9.62
#3330AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#3330AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3330AF#FFFFFF#000000##FFFFFF
##3330AF1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB3
Deuteranopia (green-blind)
#003FAD
Tritanopia (blue-blind)
#00546C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3330af;
/* rgb */ color: rgb(51, 48, 175);
/* oklch */ color: oklch(40.8% 0.193 274.6);
Tailwind
colors: {
  custom: {
    50: '#7d6ac8',
    500: '#3330af',
    950: '#000000',
  },
}
SCSS
$custom: #3330af;
$custom-light: #7d6ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#3330af",
  "rgb": {
    "r": 51,
    "g": 48,
    "b": 175
  },
  "hsl": {
    "h": 241.417,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4076,
    "c": 0.19346,
    "h": 274.6
  },
  "luminance": 0.05913
}

Semantic roles & 50–950 ramp

primary
#3330AF
secondary
#C2C476
accent
#E048DD
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3330AF

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

Preview Lab → · Contrast checker → · Palette generator →

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