#3254BF#3254BF

#3254BF is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.5% C 0.173 H 266.5°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#3254BF
RGBrgb(50, 84, 191)
HSLhsl(226, 59%, 47%)
HSVhsv(226, 74%, 75%)
CMYKcmyk(73.8%, 56%, 0%, 25.1%)
CIE-LABlab(39.21, 25.39, -59.76)
CIE-LCHlch(39.21, 64.93, 293.02°)
OKLaboklab(48.53% -0.0105 -0.1723)
OKLCHoklch(48.53% 0.173 266.5)
XYZxyz(13.8864, 10.7789, 50.6288)
Luminance0.1078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3254BF #BF9D32
analogous
#329ABF #3254BF #5732BF
triadic
#3254BF #BF3254 #54BF32
tetradic
#3254BF #BF329A #BF9D32 #32BF57
square
#3254BF #BF329A #BF9D32 #32BF57
split-complementary
#3254BF #BF5732 #9ABF32
monochromatic
#19295E #253F8E #3254BF #5A78D4 #8B9FE1

Accessibility & contrast

On white

6.65
#3254BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#3254BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3254BF
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3254BF#FFFFFF#000000##FFFFFF
##3254BF1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#0056BD
Tritanopia (blue-blind)
#006E81
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3254bf;
/* rgb */ color: rgb(50, 84, 191);
/* oklch */ color: oklch(48.5% 0.173 266.5);
Tailwind
colors: {
  custom: {
    50: '#7d83d3',
    500: '#3254bf',
    950: '#000000',
  },
}
SCSS
$custom: #3254bf;
$custom-light: #7d83d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3254bf",
  "rgb": {
    "r": 50,
    "g": 84,
    "b": 191
  },
  "hsl": {
    "h": 225.532,
    "s": 58.506,
    "l": 47.255
  },
  "oklch": {
    "l": 0.48529,
    "c": 0.17261,
    "h": 266.5
  },
  "luminance": 0.1078
}

Semantic roles & 50–950 ramp

primary
#3254BF
secondary
#CBB982
accent
#BC46E2
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #3254BF

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

Preview Lab → · Contrast checker → · Palette generator →

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