#3255C2#3255C2

#3255C2 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.0% C 0.175 H 266.4°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#3255C2
RGBrgb(50, 85, 194)
HSLhsl(225, 59%, 48%)
HSVhsv(225, 74%, 76%)
CMYKcmyk(74.2%, 56.2%, 0%, 23.9%)
CIE-LABlab(39.70, 25.85, -60.71)
CIE-LCHlch(39.70, 65.99, 293.06°)
OKLaboklab(48.97% -0.0111 -0.1751)
OKLCHoklch(48.97% 0.175 266.4)
XYZxyz(14.2981, 11.0686, 52.4114)
Luminance0.1107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3255C2 #C29F32
analogous
#329DC2 #3255C2 #5732C2
triadic
#3255C2 #C23255 #55C232
tetradic
#3255C2 #C2329D #C29F32 #32C257
square
#3255C2 #C2329D #C29F32 #32C257
split-complementary
#3255C2 #C25732 #9DC232
monochromatic
#192A61 #254091 #3255C2 #5C7AD5 #8DA1E2

Accessibility & contrast

On white

6.53
#3255C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#3255C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3255C2
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3255C2#FFFFFF#000000##FFFFFF
##3255C21.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C6
Deuteranopia (green-blind)
#0057C0
Tritanopia (blue-blind)
#007083
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3255c2;
/* rgb */ color: rgb(50, 85, 194);
/* oklch */ color: oklch(49.0% 0.175 266.4);
Tailwind
colors: {
  custom: {
    50: '#7e84d5',
    500: '#3255c2',
    950: '#000000',
  },
}
SCSS
$custom: #3255c2;
$custom-light: #7e84d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3255c2",
  "rgb": {
    "r": 50,
    "g": 85,
    "b": 194
  },
  "hsl": {
    "h": 225.417,
    "s": 59.016,
    "l": 47.843
  },
  "oklch": {
    "l": 0.48969,
    "c": 0.17542,
    "h": 266.4
  },
  "luminance": 0.1107
}

Semantic roles & 50–950 ramp

primary
#3255C2
secondary
#CCBA84
accent
#BC46E2
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #3255C2

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

Preview Lab → · Contrast checker → · Palette generator →

#3255C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva