#3254C3#3254C3

#3254C3 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.9% C 0.178 H 266.7°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#3254C3
RGBrgb(50, 84, 195)
HSLhsl(226, 59%, 48%)
HSVhsv(226, 74%, 76%)
CMYKcmyk(74.4%, 56.9%, 0%, 23.5%)
CIE-LABlab(39.51, 26.87, -61.60)
CIE-LCHlch(39.51, 67.21, 293.57°)
OKLaboklab(48.85% -0.0103 -0.1777)
OKLCHoklch(48.85% 0.178 266.7)
XYZxyz(14.3326, 10.9573, 52.9788)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3254C3 #C3A132
analogous
#329CC3 #3254C3 #5832C3
triadic
#3254C3 #C33254 #54C332
tetradic
#3254C3 #C3329C #C3A132 #32C358
square
#3254C3 #C3329C #C3A132 #32C358
split-complementary
#3254C3 #C35832 #9CC332
monochromatic
#192A62 #263F92 #3254C3 #5D79D5 #8EA1E2

Accessibility & contrast

On white

6.58
#3254C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#3254C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3254C3
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3254C3#FFFFFF#000000##FFFFFF
##3254C31.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C7
Deuteranopia (green-blind)
#0057C1
Tritanopia (blue-blind)
#007083
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3254c3;
/* rgb */ color: rgb(50, 84, 195);
/* oklch */ color: oklch(48.9% 0.178 266.7);
Tailwind
colors: {
  custom: {
    50: '#7e83d6',
    500: '#3254c3',
    950: '#000000',
  },
}
SCSS
$custom: #3254c3;
$custom-light: #7e83d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3254c3",
  "rgb": {
    "r": 50,
    "g": 84,
    "b": 195
  },
  "hsl": {
    "h": 225.931,
    "s": 59.184,
    "l": 48.039
  },
  "oklch": {
    "l": 0.48852,
    "c": 0.17799,
    "h": 266.7
  },
  "luminance": 0.10959
}

Semantic roles & 50–950 ramp

primary
#3254C3
secondary
#CCBB85
accent
#BE45E2
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #3254C3

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

Preview Lab → · Contrast checker → · Palette generator →

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