#3254C5#3254C5

#3254C5 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.0% C 0.181 H 266.8°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#3254C5
RGBrgb(50, 84, 197)
HSLhsl(226, 60%, 48%)
HSVhsv(226, 75%, 77%)
CMYKcmyk(74.6%, 57.4%, 0%, 22.7%)
CIE-LABlab(39.66, 27.61, -62.51)
CIE-LCHlch(39.66, 68.34, 293.83°)
OKLaboklab(49.02% -0.0102 -0.1804)
OKLCHoklch(49.02% 0.181 266.8)
XYZxyz(14.5602, 11.0484, 54.1777)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3254C5 #C5A332
analogous
#329DC5 #3254C5 #5932C5
triadic
#3254C5 #C53254 #54C532
tetradic
#3254C5 #C5329D #C5A332 #32C559
square
#3254C5 #C5329D #C5A332 #32C559
split-complementary
#3254C5 #C55932 #9DC532
monochromatic
#192A63 #263F94 #3254C5 #5E7AD6 #8FA2E3

Accessibility & contrast

On white

6.54
#3254C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#3254C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3254C5
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3254C5#FFFFFF#000000##FFFFFF
##3254C51.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C9
Deuteranopia (green-blind)
#0057C3
Tritanopia (blue-blind)
#007084
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3254c5;
/* rgb */ color: rgb(50, 84, 197);
/* oklch */ color: oklch(49.0% 0.181 266.8);
Tailwind
colors: {
  custom: {
    50: '#7f83d7',
    500: '#3254c5',
    950: '#000000',
  },
}
SCSS
$custom: #3254c5;
$custom-light: #7f83d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3254c5",
  "rgb": {
    "r": 50,
    "g": 84,
    "b": 197
  },
  "hsl": {
    "h": 226.122,
    "s": 59.514,
    "l": 48.431
  },
  "oklch": {
    "l": 0.49015,
    "c": 0.18067,
    "h": 266.8
  },
  "luminance": 0.1105
}

Semantic roles & 50–950 ramp

primary
#3254C5
secondary
#CDBD86
accent
#BE45E3
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3254C5

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

Preview Lab → · Contrast checker → · Palette generator →

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