#3254AF#3254AF

#3254AF is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.3% C 0.151 H 265.5°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#3254AF
RGBrgb(50, 84, 175)
HSLhsl(224, 56%, 44%)
HSVhsv(224, 71%, 69%)
CMYKcmyk(71.4%, 52%, 0%, 31.4%)
CIE-LABlab(38.04, 19.42, -52.24)
CIE-LCHlch(38.04, 55.73, 290.39°)
OKLaboklab(47.28% -0.0117 -0.1502)
OKLCHoklch(47.28% 0.151 265.5)
XYZxyz(12.2209, 10.1126, 41.8570)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3254AF #AF8D32
analogous
#3293AF #3254AF #4F32AF
triadic
#3254AF #AF3254 #54AF32
tetradic
#3254AF #AF3293 #AF8D32 #32AF4F
square
#3254AF #AF3293 #AF8D32 #32AF4F
split-complementary
#3254AF #AF4F32 #93AF32
monochromatic
#172650 #243D7F #3254AF #5173CD #8199DB

Accessibility & contrast

On white

6.95
#3254AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#3254AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3254AF#FFFFFF#000000##FFFFFF
##3254AF1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A60B2
Deuteranopia (green-blind)
#0054AD
Tritanopia (blue-blind)
#006A79
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3254af;
/* rgb */ color: rgb(50, 84, 175);
/* oklch */ color: oklch(47.3% 0.151 265.5);
Tailwind
colors: {
  custom: {
    50: '#7a83c7',
    500: '#3254af',
    950: '#000000',
  },
}
SCSS
$custom: #3254af;
$custom-light: #7a83c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3254af",
  "rgb": {
    "r": 50,
    "g": 84,
    "b": 175
  },
  "hsl": {
    "h": 223.68,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.47284,
    "c": 0.15063,
    "h": 265.5
  },
  "luminance": 0.10114
}

Semantic roles & 50–950 ramp

primary
#3254AF
secondary
#C4B079
accent
#B649DF
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #3254AF

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

Preview Lab → · Contrast checker → · Palette generator →

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