#3254BD#3254BD

#3254BD is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.4% C 0.170 H 266.4°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#3254BD
RGBrgb(50, 84, 189)
HSLhsl(225, 58%, 47%)
HSVhsv(225, 74%, 74%)
CMYKcmyk(73.5%, 55.6%, 0%, 25.9%)
CIE-LABlab(39.06, 24.64, -58.84)
CIE-LCHlch(39.06, 63.79, 292.73°)
OKLaboklab(48.37% -0.0106 -0.1696)
OKLCHoklch(48.37% 0.17 266.4)
XYZxyz(13.6678, 10.6914, 49.4776)
Luminance0.1069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3254BD #BD9B32
analogous
#329ABD #3254BD #5632BD
triadic
#3254BD #BD3254 #54BD32
tetradic
#3254BD #BD329A #BD9B32 #32BD56
square
#3254BD #BD329A #BD9B32 #32BD56
split-complementary
#3254BD #BD5632 #9ABD32
monochromatic
#18295C #253E8D #3254BD #5977D3 #899FE0

Accessibility & contrast

On white

6.69
#3254BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#3254BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3254BD
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3254BD#FFFFFF#000000##FFFFFF
##3254BD1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#0056BB
Tritanopia (blue-blind)
#006E80
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3254bd;
/* rgb */ color: rgb(50, 84, 189);
/* oklch */ color: oklch(48.4% 0.170 266.4);
Tailwind
colors: {
  custom: {
    50: '#7d83d2',
    500: '#3254bd',
    950: '#000000',
  },
}
SCSS
$custom: #3254bd;
$custom-light: #7d83d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3254bd",
  "rgb": {
    "r": 50,
    "g": 84,
    "b": 189
  },
  "hsl": {
    "h": 225.324,
    "s": 58.159,
    "l": 46.863
  },
  "oklch": {
    "l": 0.48369,
    "c": 0.1699,
    "h": 266.4
  },
  "luminance": 0.10693
}

Semantic roles & 50–950 ramp

primary
#3254BD
secondary
#CAB881
accent
#BB46E1
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #3254BD

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

Preview Lab → · Contrast checker → · Palette generator →

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