#3254B3#3254B3

#3254B3 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.6% C 0.156 H 265.8°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#3254B3
RGBrgb(50, 84, 179)
HSLhsl(224, 56%, 45%)
HSVhsv(224, 72%, 70%)
CMYKcmyk(72.1%, 53.1%, 0%, 29.8%)
CIE-LABlab(38.33, 20.91, -54.15)
CIE-LCHlch(38.33, 58.05, 291.12°)
OKLaboklab(47.59% -0.0114 -0.1558)
OKLCHoklch(47.59% 0.156 265.8)
XYZxyz(12.6196, 10.2721, 43.9567)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3254B3 #B39132
analogous
#3295B3 #3254B3 #5032B3
triadic
#3254B3 #B33254 #54B332
tetradic
#3254B3 #B33295 #B39132 #32B350
square
#3254B3 #B33295 #B39132 #32B350
split-complementary
#3254B3 #B35032 #95B332
monochromatic
#172753 #253E83 #3254B3 #5374CF #839BDC

Accessibility & contrast

On white

6.87
#3254B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3254B3
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3254B3#FFFFFF#000000##FFFFFF
##3254B31.006.873.056.87
#FFFFFF6.871.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1160B6
Deuteranopia (green-blind)
#0055B1
Tritanopia (blue-blind)
#006B7B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3254b3;
/* rgb */ color: rgb(50, 84, 179);
/* oklch */ color: oklch(47.6% 0.156 265.8);
Tailwind
colors: {
  custom: {
    50: '#7b83ca',
    500: '#3254b3',
    950: '#000000',
  },
}
SCSS
$custom: #3254b3;
$custom-light: #7b83ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3254b3",
  "rgb": {
    "r": 50,
    "g": 84,
    "b": 179
  },
  "hsl": {
    "h": 224.186,
    "s": 56.332,
    "l": 44.902
  },
  "oklch": {
    "l": 0.47588,
    "c": 0.15619,
    "h": 265.8
  },
  "luminance": 0.10273
}

Semantic roles & 50–950 ramp

primary
#3254B3
secondary
#C6B27B
accent
#B848E0
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3254B3

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

Preview Lab → · Contrast checker → · Palette generator →

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