#3254BE#3254BE

#3254BE is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.4% C 0.171 H 266.5°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#3254BE
RGBrgb(50, 84, 190)
HSLhsl(225, 58%, 47%)
HSVhsv(225, 74%, 75%)
CMYKcmyk(73.7%, 55.8%, 0%, 25.5%)
CIE-LABlab(39.13, 25.02, -59.30)
CIE-LCHlch(39.13, 64.36, 292.87°)
OKLaboklab(48.45% -0.0105 -0.1709)
OKLCHoklch(48.45% 0.171 266.5)
XYZxyz(13.7767, 10.7350, 50.0512)
Luminance0.1074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3254BE #BE9C32
analogous
#329ABE #3254BE #5632BE
triadic
#3254BE #BE3254 #54BE32
tetradic
#3254BE #BE329A #BE9C32 #32BE56
square
#3254BE #BE329A #BE9C32 #32BE56
split-complementary
#3254BE #BE5632 #9ABE32
monochromatic
#19295D #253F8E #3254BE #5A77D3 #8A9FE0

Accessibility & contrast

On white

6.67
#3254BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#3254BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3254BE
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3254BE#FFFFFF#000000##FFFFFF
##3254BE1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3254be;
/* rgb */ color: rgb(50, 84, 190);
/* oklch */ color: oklch(48.4% 0.171 266.5);
Tailwind
colors: {
  custom: {
    50: '#7d83d2',
    500: '#3254be',
    950: '#000000',
  },
}
SCSS
$custom: #3254be;
$custom-light: #7d83d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3254be",
  "rgb": {
    "r": 50,
    "g": 84,
    "b": 190
  },
  "hsl": {
    "h": 225.429,
    "s": 58.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.48449,
    "c": 0.17126,
    "h": 266.5
  },
  "luminance": 0.10736
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3254BE

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

Preview Lab → · Contrast checker → · Palette generator →

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