#3255C5#3255C5

#3255C5 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.2% C 0.179 H 266.5°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#3255C5
RGBrgb(50, 85, 197)
HSLhsl(226, 60%, 48%)
HSVhsv(226, 75%, 77%)
CMYKcmyk(74.6%, 56.9%, 0%, 22.7%)
CIE-LABlab(39.92, 26.96, -62.09)
CIE-LCHlch(39.92, 67.69, 293.47°)
OKLaboklab(49.21% -0.0109 -0.1791)
OKLCHoklch(49.21% 0.179 266.5)
XYZxyz(14.6384, 11.2047, 54.2037)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3255C5 #C5A232
analogous
#329EC5 #3255C5 #5832C5
triadic
#3255C5 #C53255 #55C532
tetradic
#3255C5 #C5329E #C5A232 #32C558
square
#3255C5 #C5329E #C5A232 #32C558
split-complementary
#3255C5 #C55832 #9EC532
monochromatic
#192B63 #264094 #3255C5 #5E7BD6 #8FA3E3

Accessibility & contrast

On white

6.48
#3255C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#3255C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3255C5
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3255C5#FFFFFF#000000##FFFFFF
##3255C51.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C9
Deuteranopia (green-blind)
#0058C3
Tritanopia (blue-blind)
#007184
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3255c5;
/* rgb */ color: rgb(50, 85, 197);
/* oklch */ color: oklch(49.2% 0.179 266.5);
Tailwind
colors: {
  custom: {
    50: '#7f84d7',
    500: '#3255c5',
    950: '#000000',
  },
}
SCSS
$custom: #3255c5;
$custom-light: #7f84d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3255c5",
  "rgb": {
    "r": 50,
    "g": 85,
    "b": 197
  },
  "hsl": {
    "h": 225.714,
    "s": 59.514,
    "l": 48.431
  },
  "oklch": {
    "l": 0.49211,
    "c": 0.17944,
    "h": 266.5
  },
  "luminance": 0.11206
}

Semantic roles & 50–950 ramp

primary
#3255C5
secondary
#CDBC86
accent
#BD45E3
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3255C5

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

Preview Lab → · Contrast checker → · Palette generator →

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