#3254B5#3254B5

#3254B5 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.7% C 0.159 H 266.0°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#3254B5
RGBrgb(50, 84, 181)
HSLhsl(224, 57%, 45%)
HSVhsv(224, 72%, 71%)
CMYKcmyk(72.4%, 53.6%, 0%, 29%)
CIE-LABlab(38.47, 21.66, -55.09)
CIE-LCHlch(38.47, 59.20, 291.46°)
OKLaboklab(47.74% -0.0112 -0.1586)
OKLCHoklch(47.74% 0.159 266)
XYZxyz(12.8233, 10.3536, 45.0297)
Luminance0.1036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3254B5 #B59332
analogous
#3296B5 #3254B5 #5132B5
triadic
#3254B5 #B53254 #54B532
tetradic
#3254B5 #B53296 #B59332 #32B551
square
#3254B5 #B53296 #B59332 #32B551
split-complementary
#3254B5 #B55132 #96B532
monochromatic
#182755 #253E85 #3254B5 #5474D0 #849BDD

Accessibility & contrast

On white

6.84
#3254B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#3254B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3254B5
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3254B5#FFFFFF#000000##FFFFFF
##3254B51.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C61B8
Deuteranopia (green-blind)
#0055B3
Tritanopia (blue-blind)
#006B7C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3254b5;
/* rgb */ color: rgb(50, 84, 181);
/* oklch */ color: oklch(47.7% 0.159 266.0);
Tailwind
colors: {
  custom: {
    50: '#7b83cc',
    500: '#3254b5',
    950: '#000000',
  },
}
SCSS
$custom: #3254b5;
$custom-light: #7b83cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3254b5",
  "rgb": {
    "r": 50,
    "g": 84,
    "b": 181
  },
  "hsl": {
    "h": 224.427,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47742,
    "c": 0.15895,
    "h": 266
  },
  "luminance": 0.10355
}

Semantic roles & 50–950 ramp

primary
#3254B5
secondary
#C7B37C
accent
#B848E0
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3254B5

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

Preview Lab → · Contrast checker → · Palette generator →

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