#3254BC#3254BC

#3254BC is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.3% C 0.169 H 266.4°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#3254BC
RGBrgb(50, 84, 188)
HSLhsl(225, 58%, 47%)
HSVhsv(225, 73%, 74%)
CMYKcmyk(73.4%, 55.3%, 0%, 26.3%)
CIE-LABlab(38.98, 24.27, -58.37)
CIE-LCHlch(38.98, 63.22, 292.58°)
OKLaboklab(48.29% -0.0107 -0.1682)
OKLCHoklch(48.29% 0.169 266.4)
XYZxyz(13.5596, 10.6481, 48.9079)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3254BC #BC9A32
analogous
#3299BC #3254BC #5532BC
triadic
#3254BC #BC3254 #54BC32
tetradic
#3254BC #BC3299 #BC9A32 #32BC55
square
#3254BC #BC3299 #BC9A32 #32BC55
split-complementary
#3254BC #BC5532 #99BC32
monochromatic
#18295B #253E8C #3254BC #5877D3 #899EE0

Accessibility & contrast

On white

6.71
#3254BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#3254BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3254BC
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3254BC#FFFFFF#000000##FFFFFF
##3254BC1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C0
Deuteranopia (green-blind)
#0056BA
Tritanopia (blue-blind)
#006D80
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3254bc;
/* rgb */ color: rgb(50, 84, 188);
/* oklch */ color: oklch(48.3% 0.169 266.4);
Tailwind
colors: {
  custom: {
    50: '#7d83d1',
    500: '#3254bc',
    950: '#000000',
  },
}
SCSS
$custom: #3254bc;
$custom-light: #7d83d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3254bc",
  "rgb": {
    "r": 50,
    "g": 84,
    "b": 188
  },
  "hsl": {
    "h": 225.217,
    "s": 57.983,
    "l": 46.667
  },
  "oklch": {
    "l": 0.4829,
    "c": 0.16854,
    "h": 266.4
  },
  "luminance": 0.1065
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3254BC

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

Preview Lab → · Contrast checker → · Palette generator →

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