#3235A2#3235A2

#3235A2 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.2% C 0.171 H 274.3°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#3235A2
RGBrgb(50, 53, 162)
HSLhsl(238, 53%, 42%)
HSVhsv(238, 69%, 64%)
CMYKcmyk(69.1%, 67.3%, 0%, 36.5%)
CIE-LABlab(28.98, 34.90, -59.21)
CIE-LCHlch(28.98, 68.73, 300.52°)
OKLaboklab(40.22% 0.013 -0.171)
OKLCHoklch(40.22% 0.171 274.3)
XYZxyz(9.1079, 5.8321, 34.8211)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3235A2 #A29F32
analogous
#326DA2 #3235A2 #6732A2
triadic
#3235A2 #A23235 #35A232
tetradic
#3235A2 #A2326D #A29F32 #32A267
square
#3235A2 #A2326D #A29F32 #32A267
split-complementary
#3235A2 #A26732 #6DA232
monochromatic
#151644 #242673 #3235A2 #4A4DC7 #797BD6

Accessibility & contrast

On white

9.69
#3235A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#3235A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3235A2
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3235A2#FFFFFF#000000##FFFFFF
##3235A21.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A5
Deuteranopia (green-blind)
#003FA0
Tritanopia (blue-blind)
#005267
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3235a2;
/* rgb */ color: rgb(50, 53, 162);
/* oklch */ color: oklch(40.2% 0.171 274.3);
Tailwind
colors: {
  custom: {
    50: '#796dbf',
    500: '#3235a2',
    950: '#000000',
  },
}
SCSS
$custom: #3235a2;
$custom-light: #796dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#3235a2",
  "rgb": {
    "r": 50,
    "g": 53,
    "b": 162
  },
  "hsl": {
    "h": 238.393,
    "s": 52.83,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40218,
    "c": 0.17148,
    "h": 274.3
  },
  "luminance": 0.05833
}

Semantic roles & 50–950 ramp

primary
#3235A2
secondary
#BEBC72
accent
#D84CDC
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #3235A2

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

Preview Lab → · Contrast checker → · Palette generator →

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