#3254AB#3254AB

#3254AB is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.0% C 0.145 H 265.2°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#3254AB
RGBrgb(50, 84, 171)
HSLhsl(223, 55%, 43%)
HSVhsv(223, 71%, 67%)
CMYKcmyk(70.8%, 50.9%, 0%, 32.9%)
CIE-LABlab(37.77, 17.92, -50.32)
CIE-LCHlch(37.77, 53.42, 289.60°)
OKLaboklab(46.99% -0.0122 -0.1445)
OKLCHoklch(46.99% 0.145 265.2)
XYZxyz(11.8338, 9.9578, 39.8186)
Luminance0.0996 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3254AB #AB8932
analogous
#3290AB #3254AB #4C32AB
triadic
#3254AB #AB3254 #54AB32
tetradic
#3254AB #AB3290 #AB8932 #32AB4C
square
#3254AB #AB3290 #AB8932 #32AB4C
split-complementary
#3254AB #AB4C32 #90AB32
monochromatic
#16254C #243D7C #3254AB #4F72CB #7E98D9

Accessibility & contrast

On white

7.02
#3254AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#3254AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3254AB#FFFFFF#000000##FFFFFF
##3254AB1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205FAE
Deuteranopia (green-blind)
#0054A9
Tritanopia (blue-blind)
#006977
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3254ab;
/* rgb */ color: rgb(50, 84, 171);
/* oklch */ color: oklch(47.0% 0.145 265.2);
Tailwind
colors: {
  custom: {
    50: '#7983c5',
    500: '#3254ab',
    950: '#000000',
  },
}
SCSS
$custom: #3254ab;
$custom-light: #7983c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3254ab",
  "rgb": {
    "r": 50,
    "g": 84,
    "b": 171
  },
  "hsl": {
    "h": 223.14,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.46985,
    "c": 0.14503,
    "h": 265.2
  },
  "luminance": 0.09959
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3254AB

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

Preview Lab → · Contrast checker → · Palette generator →

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