#3254C6#3254C6

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

Color values

HEX#3254C6
RGBrgb(50, 84, 198)
HSLhsl(226, 60%, 49%)
HSVhsv(226, 75%, 78%)
CMYKcmyk(74.7%, 57.6%, 0%, 22.4%)
CIE-LABlab(39.74, 27.98, -62.97)
CIE-LCHlch(39.74, 68.91, 293.96°)
OKLaboklab(49.1% -0.0102 -0.1817)
OKLCHoklch(49.1% 0.182 266.8)
XYZxyz(14.6752, 11.0944, 54.7831)
Luminance0.1110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3254C6 #C6A432
analogous
#329EC6 #3254C6 #5A32C6
triadic
#3254C6 #C63254 #54C632
tetradic
#3254C6 #C6329E #C6A432 #32C65A
square
#3254C6 #C6329E #C6A432 #32C65A
split-complementary
#3254C6 #C65A32 #9EC632
monochromatic
#192B64 #263F95 #3254C6 #5F7AD7 #90A3E3

Accessibility & contrast

On white

6.52
#3254C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#3254C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3254C6
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3254C6#FFFFFF#000000##FFFFFF
##3254C61.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CA
Deuteranopia (green-blind)
#0057C4
Tritanopia (blue-blind)
#007085
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3254c6;
/* rgb */ color: rgb(50, 84, 198);
/* oklch */ color: oklch(49.1% 0.182 266.8);
Tailwind
colors: {
  custom: {
    50: '#7f83d8',
    500: '#3254c6',
    950: '#000000',
  },
}
SCSS
$custom: #3254c6;
$custom-light: #7f83d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3254c6",
  "rgb": {
    "r": 50,
    "g": 84,
    "b": 198
  },
  "hsl": {
    "h": 226.216,
    "s": 59.677,
    "l": 48.627
  },
  "oklch": {
    "l": 0.49097,
    "c": 0.182,
    "h": 266.8
  },
  "luminance": 0.11096
}

Semantic roles & 50–950 ramp

primary
#3254C6
secondary
#CDBD86
accent
#BF45E3
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3254C6

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

Preview Lab → · Contrast checker → · Palette generator →

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