#3254B8#3254B8

#3254B8 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.0% C 0.163 H 266.1°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#3254B8
RGBrgb(50, 84, 184)
HSLhsl(225, 57%, 46%)
HSVhsv(225, 73%, 72%)
CMYKcmyk(72.8%, 54.3%, 0%, 27.8%)
CIE-LABlab(38.69, 22.78, -56.51)
CIE-LCHlch(38.69, 60.92, 291.96°)
OKLaboklab(47.98% -0.0109 -0.1627)
OKLCHoklch(47.98% 0.163 266.1)
XYZxyz(13.1344, 10.4781, 46.6684)
Luminance0.1048 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3254B8 #B89632
analogous
#3297B8 #3254B8 #5332B8
triadic
#3254B8 #B83254 #54B832
tetradic
#3254B8 #B83297 #B89632 #32B853
square
#3254B8 #B83297 #B89632 #32B853
split-complementary
#3254B8 #B85332 #97B832
monochromatic
#182858 #253E88 #3254B8 #5675D1 #869DDE

Accessibility & contrast

On white

6.78
#3254B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#3254B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3254B8
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3254B8#FFFFFF#000000##FFFFFF
##3254B81.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BB
Deuteranopia (green-blind)
#0055B6
Tritanopia (blue-blind)
#006C7E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3254b8;
/* rgb */ color: rgb(50, 84, 184);
/* oklch */ color: oklch(48.0% 0.163 266.1);
Tailwind
colors: {
  custom: {
    50: '#7c83ce',
    500: '#3254b8',
    950: '#000000',
  },
}
SCSS
$custom: #3254b8;
$custom-light: #7c83ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3254b8",
  "rgb": {
    "r": 50,
    "g": 84,
    "b": 184
  },
  "hsl": {
    "h": 224.776,
    "s": 57.265,
    "l": 45.882
  },
  "oklch": {
    "l": 0.47975,
    "c": 0.16308,
    "h": 266.1
  },
  "luminance": 0.10479
}

Semantic roles & 50–950 ramp

primary
#3254B8
secondary
#C8B57E
accent
#BA47E1
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3254B8

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

Preview Lab → · Contrast checker → · Palette generator →

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