#3235B2#3235B2

#3235B2 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.8% C 0.192 H 273.3°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#3235B2
RGBrgb(50, 53, 178)
HSLhsl(239, 56%, 45%)
HSVhsv(239, 72%, 70%)
CMYKcmyk(71.9%, 70.2%, 0%, 30.2%)
CIE-LABlab(30.49, 40.45, -66.34)
CIE-LCHlch(30.49, 77.70, 301.37°)
OKLaboklab(41.77% 0.0111 -0.1918)
OKLCHoklch(41.77% 0.192 273.3)
XYZxyz(10.6217, 6.4376, 42.7937)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3235B2 #B2AF32
analogous
#3275B2 #3235B2 #6F32B2
triadic
#3235B2 #B23235 #35B232
tetradic
#3235B2 #B23275 #B2AF32 #32B26F
square
#3235B2 #B23275 #B2AF32 #32B26F
split-complementary
#3235B2 #B26F32 #75B232
monochromatic
#171952 #252782 #3235B2 #5356CF #8285DC

Accessibility & contrast

On white

9.18
#3235B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#3235B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3235B2
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3235B2#FFFFFF#000000##FFFFFF
##3235B21.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB6
Deuteranopia (green-blind)
#0042B0
Tritanopia (blue-blind)
#00576F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3235b2;
/* rgb */ color: rgb(50, 53, 178);
/* oklch */ color: oklch(41.8% 0.192 273.3);
Tailwind
colors: {
  custom: {
    50: '#7d6dca',
    500: '#3235b2',
    950: '#000000',
  },
}
SCSS
$custom: #3235b2;
$custom-light: #7d6dca;
$custom-dark: #000000;
JSON
{
  "hex": "#3235b2",
  "rgb": {
    "r": 50,
    "g": 53,
    "b": 178
  },
  "hsl": {
    "h": 238.594,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.41765,
    "c": 0.19216,
    "h": 273.3
  },
  "luminance": 0.06439
}

Semantic roles & 50–950 ramp

primary
#3235B2
secondary
#C5C47B
accent
#DC48DF
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3235B2

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

Preview Lab → · Contrast checker → · Palette generator →

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