#3326AF#3326AF

#3326AF is a dark, highly saturated blue. Relative luminance 0.052; OKLCH L 39.4% C 0.203 H 275.9°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#3326AF
RGBrgb(51, 38, 175)
HSLhsl(246, 64%, 42%)
HSVhsv(246, 78%, 69%)
CMYKcmyk(70.9%, 78.3%, 0%, 31.4%)
CIE-LABlab(27.25, 47.97, -69.89)
CIE-LCHlch(27.25, 84.77, 304.47°)
OKLaboklab(39.39% 0.0208 -0.202)
OKLCHoklch(39.39% 0.203 275.9)
XYZxyz(9.7937, 5.1843, 41.0337)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3326AF #A2AF26
analogous
#265EAF #3326AF #7726AF
triadic
#3326AF #AF3326 #26AF33
tetradic
#3326AF #AF265E #A2AF26 #26AF77
square
#3326AF #AF265E #A2AF26 #26AF77
split-complementary
#3326AF #AF7726 #5EAF26
monochromatic
#16104A #241B7D #3326AF #4C3DD5 #7A70E0

Accessibility & contrast

On white

10.31
#3326AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#3326AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3326AF
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3326AF#FFFFFF#000000##FFFFFF
##3326AF1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B3
Deuteranopia (green-blind)
#003AAD
Tritanopia (blue-blind)
#004F6A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3326af;
/* rgb */ color: rgb(51, 38, 175);
/* oklch */ color: oklch(39.4% 0.203 275.9);
Tailwind
colors: {
  custom: {
    50: '#7e64c8',
    500: '#3326af',
    950: '#000000',
  },
}
SCSS
$custom: #3326af;
$custom-light: #7e64c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3326af",
  "rgb": {
    "r": 51,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 245.693,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39392,
    "c": 0.20312,
    "h": 275.9
  },
  "luminance": 0.05185
}

Semantic roles & 50–950 ramp

primary
#3326AF
secondary
#BEC76A
accent
#E740D7
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #3326AF

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

Preview Lab → · Contrast checker → · Palette generator →

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