#3254BB#3254BB

#3254BB is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.2% C 0.167 H 266.3°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#3254BB
RGBrgb(50, 84, 187)
HSLhsl(225, 58%, 46%)
HSVhsv(225, 73%, 73%)
CMYKcmyk(73.3%, 55.1%, 0%, 26.7%)
CIE-LABlab(38.91, 23.90, -57.91)
CIE-LCHlch(38.91, 62.65, 292.43°)
OKLaboklab(48.21% -0.0107 -0.1668)
OKLCHoklch(48.21% 0.167 266.3)
XYZxyz(13.4522, 10.6052, 48.3421)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3254BB #BB9932
analogous
#3299BB #3254BB #5432BB
triadic
#3254BB #BB3254 #54BB32
tetradic
#3254BB #BB3299 #BB9932 #32BB54
square
#3254BB #BB3299 #BB9932 #32BB54
split-complementary
#3254BB #BB5432 #99BB32
monochromatic
#18295A #253E8B #3254BB #5876D2 #889EDF

Accessibility & contrast

On white

6.73
#3254BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#3254BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3254BB
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3254BB#FFFFFF#000000##FFFFFF
##3254BB1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BF
Deuteranopia (green-blind)
#0056B9
Tritanopia (blue-blind)
#006D7F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3254bb;
/* rgb */ color: rgb(50, 84, 187);
/* oklch */ color: oklch(48.2% 0.167 266.3);
Tailwind
colors: {
  custom: {
    50: '#7c83d0',
    500: '#3254bb',
    950: '#000000',
  },
}
SCSS
$custom: #3254bb;
$custom-light: #7c83d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3254bb",
  "rgb": {
    "r": 50,
    "g": 84,
    "b": 187
  },
  "hsl": {
    "h": 225.109,
    "s": 57.806,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48211,
    "c": 0.16718,
    "h": 266.3
  },
  "luminance": 0.10607
}

Semantic roles & 50–950 ramp

primary
#3254BB
secondary
#C9B780
accent
#BB47E1
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3254BB

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

Preview Lab → · Contrast checker → · Palette generator →

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