#3235B5#3235B5

#3235B5 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 42.1% C 0.196 H 273.1°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#3235B5
RGBrgb(50, 53, 181)
HSLhsl(239, 57%, 45%)
HSVhsv(239, 72%, 71%)
CMYKcmyk(72.4%, 70.7%, 0%, 29%)
CIE-LABlab(30.78, 41.47, -67.65)
CIE-LCHlch(30.78, 79.35, 301.51°)
OKLaboklab(42.06% 0.0106 -0.1956)
OKLCHoklch(42.06% 0.196 273.1)
XYZxyz(10.9262, 6.5594, 44.3974)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3235B5 #B5B232
analogous
#3276B5 #3235B5 #7032B5
triadic
#3235B5 #B53235 #35B532
tetradic
#3235B5 #B53276 #B5B232 #32B570
square
#3235B5 #B53276 #B5B232 #32B570
split-complementary
#3235B5 #B57032 #76B532
monochromatic
#181955 #252785 #3235B5 #5457D0 #8486DD

Accessibility & contrast

On white

9.08
#3235B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#3235B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3235B5
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3235B5#FFFFFF#000000##FFFFFF
##3235B51.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB9
Deuteranopia (green-blind)
#0042B3
Tritanopia (blue-blind)
#005971
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3235b5;
/* rgb */ color: rgb(50, 53, 181);
/* oklch */ color: oklch(42.1% 0.196 273.1);
Tailwind
colors: {
  custom: {
    50: '#7e6dcc',
    500: '#3235b5',
    950: '#000000',
  },
}
SCSS
$custom: #3235b5;
$custom-light: #7e6dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#3235b5",
  "rgb": {
    "r": 50,
    "g": 53,
    "b": 181
  },
  "hsl": {
    "h": 238.626,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.42062,
    "c": 0.19594,
    "h": 273.1
  },
  "luminance": 0.06561
}

Semantic roles & 50–950 ramp

primary
#3235B5
secondary
#C7C57C
accent
#DC48E0
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #3235B5

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

Preview Lab → · Contrast checker → · Palette generator →

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