#3254B4#3254B4

#3254B4 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.7% C 0.158 H 265.9°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#3254B4
RGBrgb(50, 84, 180)
HSLhsl(224, 57%, 45%)
HSVhsv(224, 72%, 71%)
CMYKcmyk(72.2%, 53.3%, 0%, 29.4%)
CIE-LABlab(38.40, 21.29, -54.62)
CIE-LCHlch(38.40, 58.62, 291.29°)
OKLaboklab(47.67% -0.0113 -0.1572)
OKLCHoklch(47.67% 0.158 265.9)
XYZxyz(12.7211, 10.3127, 44.4913)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3254B4 #B49232
analogous
#3295B4 #3254B4 #5132B4
triadic
#3254B4 #B43254 #54B432
tetradic
#3254B4 #B43295 #B49232 #32B451
square
#3254B4 #B43295 #B49232 #32B451
split-complementary
#3254B4 #B45132 #95B432
monochromatic
#172754 #253E84 #3254B4 #5474CF #849BDD

Accessibility & contrast

On white

6.86
#3254B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#3254B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3254B4
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3254B4#FFFFFF#000000##FFFFFF
##3254B41.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F61B7
Deuteranopia (green-blind)
#0055B2
Tritanopia (blue-blind)
#006B7C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3254b4;
/* rgb */ color: rgb(50, 84, 180);
/* oklch */ color: oklch(47.7% 0.158 265.9);
Tailwind
colors: {
  custom: {
    50: '#7b83cb',
    500: '#3254b4',
    950: '#000000',
  },
}
SCSS
$custom: #3254b4;
$custom-light: #7b83cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3254b4",
  "rgb": {
    "r": 50,
    "g": 84,
    "b": 180
  },
  "hsl": {
    "h": 224.308,
    "s": 56.522,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47665,
    "c": 0.15757,
    "h": 265.9
  },
  "luminance": 0.10314
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3254B4

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

Preview Lab → · Contrast checker → · Palette generator →

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