#3254B2#3254B2

#3254B2 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.5% C 0.155 H 265.8°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#3254B2
RGBrgb(50, 84, 178)
HSLhsl(224, 56%, 45%)
HSVhsv(224, 72%, 70%)
CMYKcmyk(71.9%, 52.8%, 0%, 30.2%)
CIE-LABlab(38.26, 20.54, -53.67)
CIE-LCHlch(38.26, 57.47, 290.94°)
OKLaboklab(47.51% -0.0115 -0.1544)
OKLCHoklch(47.51% 0.155 265.8)
XYZxyz(12.5188, 10.2318, 43.4260)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3254B2 #B29032
analogous
#3294B2 #3254B2 #5032B2
triadic
#3254B2 #B23254 #54B232
tetradic
#3254B2 #B23294 #B29032 #32B250
square
#3254B2 #B23294 #B29032 #32B250
split-complementary
#3254B2 #B25032 #94B232
monochromatic
#172752 #253D82 #3254B2 #5374CF #829ADC

Accessibility & contrast

On white

6.89
#3254B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#3254B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3254B2
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3254B2#FFFFFF#000000##FFFFFF
##3254B21.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1460B5
Deuteranopia (green-blind)
#0054B0
Tritanopia (blue-blind)
#006B7B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3254b2;
/* rgb */ color: rgb(50, 84, 178);
/* oklch */ color: oklch(47.5% 0.155 265.8);
Tailwind
colors: {
  custom: {
    50: '#7a83ca',
    500: '#3254b2',
    950: '#000000',
  },
}
SCSS
$custom: #3254b2;
$custom-light: #7a83ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3254b2",
  "rgb": {
    "r": 50,
    "g": 84,
    "b": 178
  },
  "hsl": {
    "h": 224.063,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47511,
    "c": 0.1548,
    "h": 265.8
  },
  "luminance": 0.10233
}

Semantic roles & 50–950 ramp

primary
#3254B2
secondary
#C5B17B
accent
#B748DF
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3254B2

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

Preview Lab → · Contrast checker → · Palette generator →

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