#3235A4#3235A4

#3235A4 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.4% C 0.174 H 274.2°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#3235A4
RGBrgb(50, 53, 164)
HSLhsl(238, 53%, 42%)
HSVhsv(238, 70%, 64%)
CMYKcmyk(69.5%, 67.7%, 0%, 35.7%)
CIE-LABlab(29.17, 35.60, -60.12)
CIE-LCHlch(29.17, 69.87, 300.63°)
OKLaboklab(40.41% 0.0128 -0.1736)
OKLCHoklch(40.41% 0.174 274.2)
XYZxyz(9.2871, 5.9038, 35.7649)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3235A4 #A4A132
analogous
#326EA4 #3235A4 #6832A4
triadic
#3235A4 #A43235 #35A432
tetradic
#3235A4 #A4326E #A4A132 #32A468
square
#3235A4 #A4326E #A4A132 #32A468
split-complementary
#3235A4 #A46832 #6EA432
monochromatic
#151746 #242675 #3235A4 #4B4EC8 #7A7CD6

Accessibility & contrast

On white

9.63
#3235A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#3235A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3235A4
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3235A4#FFFFFF#000000##FFFFFF
##3235A41.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA7
Deuteranopia (green-blind)
#003FA2
Tritanopia (blue-blind)
#005268
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3235a4;
/* rgb */ color: rgb(50, 53, 164);
/* oklch */ color: oklch(40.4% 0.174 274.2);
Tailwind
colors: {
  custom: {
    50: '#7a6dc0',
    500: '#3235a4',
    950: '#000000',
  },
}
SCSS
$custom: #3235a4;
$custom-light: #7a6dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#3235a4",
  "rgb": {
    "r": 50,
    "g": 53,
    "b": 164
  },
  "hsl": {
    "h": 238.421,
    "s": 53.271,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40408,
    "c": 0.17411,
    "h": 274.2
  },
  "luminance": 0.05905
}

Semantic roles & 50–950 ramp

primary
#3235A4
secondary
#BFBD73
accent
#D94BDD
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #3235A4

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

Preview Lab → · Contrast checker → · Palette generator →

#3235A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva