#3254C2#3254C2

#3254C2 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.8% C 0.177 H 266.6°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#3254C2
RGBrgb(50, 84, 194)
HSLhsl(226, 59%, 48%)
HSVhsv(226, 74%, 76%)
CMYKcmyk(74.2%, 56.7%, 0%, 23.9%)
CIE-LABlab(39.43, 26.50, -61.14)
CIE-LCHlch(39.43, 66.64, 293.43°)
OKLaboklab(48.77% -0.0103 -0.1763)
OKLCHoklch(48.77% 0.177 266.6)
XYZxyz(14.2199, 10.9123, 52.3853)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3254C2 #C2A032
analogous
#329CC2 #3254C2 #5832C2
triadic
#3254C2 #C23254 #54C232
tetradic
#3254C2 #C2329C #C2A032 #32C258
square
#3254C2 #C2329C #C2A032 #32C258
split-complementary
#3254C2 #C25832 #9CC232
monochromatic
#192A61 #253F91 #3254C2 #5C79D5 #8DA1E2

Accessibility & contrast

On white

6.60
#3254C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#3254C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3254C2
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3254C2#FFFFFF#000000##FFFFFF
##3254C21.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C6
Deuteranopia (green-blind)
#0056C0
Tritanopia (blue-blind)
#006F83
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3254c2;
/* rgb */ color: rgb(50, 84, 194);
/* oklch */ color: oklch(48.8% 0.177 266.6);
Tailwind
colors: {
  custom: {
    50: '#7e83d5',
    500: '#3254c2',
    950: '#000000',
  },
}
SCSS
$custom: #3254c2;
$custom-light: #7e83d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3254c2",
  "rgb": {
    "r": 50,
    "g": 84,
    "b": 194
  },
  "hsl": {
    "h": 225.833,
    "s": 59.016,
    "l": 47.843
  },
  "oklch": {
    "l": 0.48771,
    "c": 0.17665,
    "h": 266.6
  },
  "luminance": 0.10914
}

Semantic roles & 50–950 ramp

primary
#3254C2
secondary
#CCBB84
accent
#BD46E2
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #3254C2

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

Preview Lab → · Contrast checker → · Palette generator →

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