#3235B1#3235B1

#3235B1 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.7% C 0.191 H 273.4°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#3235B1
RGBrgb(50, 53, 177)
HSLhsl(239, 56%, 45%)
HSVhsv(239, 72%, 69%)
CMYKcmyk(71.8%, 70.1%, 0%, 30.6%)
CIE-LABlab(30.39, 40.10, -65.91)
CIE-LCHlch(30.39, 77.15, 301.32°)
OKLaboklab(41.67% 0.0112 -0.1906)
OKLCHoklch(41.67% 0.191 273.4)
XYZxyz(10.5217, 6.3976, 42.2668)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3235B1 #B1AE32
analogous
#3274B1 #3235B1 #6F32B1
triadic
#3235B1 #B13235 #35B132
tetradic
#3235B1 #B13274 #B1AE32 #32B16F
square
#3235B1 #B13274 #B1AE32 #32B16F
split-complementary
#3235B1 #B16F32 #74B132
monochromatic
#171852 #252781 #3235B1 #5255CE #8284DC

Accessibility & contrast

On white

9.21
#3235B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#3235B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3235B1
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3235B1#FFFFFF#000000##FFFFFF
##3235B11.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3235b1;
/* rgb */ color: rgb(50, 53, 177);
/* oklch */ color: oklch(41.7% 0.191 273.4);
Tailwind
colors: {
  custom: {
    50: '#7d6dc9',
    500: '#3235b1',
    950: '#000000',
  },
}
SCSS
$custom: #3235b1;
$custom-light: #7d6dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#3235b1",
  "rgb": {
    "r": 50,
    "g": 53,
    "b": 177
  },
  "hsl": {
    "h": 238.583,
    "s": 55.947,
    "l": 44.51
  },
  "oklch": {
    "l": 0.41666,
    "c": 0.1909,
    "h": 273.4
  },
  "luminance": 0.06399
}

Semantic roles & 50–950 ramp

primary
#3235B1
secondary
#C5C37A
accent
#DC49DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3235B1

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

Preview Lab → · Contrast checker → · Palette generator →

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