#3254AA#3254AA

#3254AA is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.9% C 0.144 H 265.1°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#3254AA
RGBrgb(50, 84, 170)
HSLhsl(223, 55%, 43%)
HSVhsv(223, 71%, 67%)
CMYKcmyk(70.6%, 50.6%, 0%, 33.3%)
CIE-LABlab(37.70, 17.54, -49.84)
CIE-LCHlch(37.70, 52.84, 289.39°)
OKLaboklab(46.91% -0.0123 -0.1431)
OKLCHoklch(46.91% 0.144 265.1)
XYZxyz(11.7389, 9.9198, 39.3185)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3254AA #AA8832
analogous
#3290AA #3254AA #4C32AA
triadic
#3254AA #AA3254 #54AA32
tetradic
#3254AA #AA3290 #AA8832 #32AA4C
square
#3254AA #AA3290 #AA8832 #32AA4C
split-complementary
#3254AA #AA4C32 #90AA32
monochromatic
#16254B #243D7B #3254AA #4E72CB #7D97D9

Accessibility & contrast

On white

7.04
#3254AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#3254AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3254AA#FFFFFF#000000##FFFFFF
##3254AA1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225FAD
Deuteranopia (green-blind)
#0054A8
Tritanopia (blue-blind)
#006877
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3254aa;
/* rgb */ color: rgb(50, 84, 170);
/* oklch */ color: oklch(46.9% 0.144 265.1);
Tailwind
colors: {
  custom: {
    50: '#7983c4',
    500: '#3254aa',
    950: '#000000',
  },
}
SCSS
$custom: #3254aa;
$custom-light: #7983c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3254aa",
  "rgb": {
    "r": 50,
    "g": 84,
    "b": 170
  },
  "hsl": {
    "h": 223,
    "s": 54.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.46911,
    "c": 0.14362,
    "h": 265.1
  },
  "luminance": 0.09921
}

Semantic roles & 50–950 ramp

primary
#3254AA
secondary
#C2AC76
accent
#B44ADE
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #3254AA

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

Preview Lab → · Contrast checker → · Palette generator →

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