#3248A4#3248A4

#3248A4 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.0% C 0.151 H 269.2°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#3248A4
RGBrgb(50, 72, 164)
HSLhsl(228, 53%, 42%)
HSVhsv(228, 70%, 64%)
CMYKcmyk(69.5%, 56.1%, 0%, 35.7%)
CIE-LABlab(33.97, 23.25, -52.29)
CIE-LCHlch(33.97, 57.23, 293.97°)
OKLaboklab(43.95% -0.0022 -0.1505)
OKLCHoklch(43.95% 0.151 269.2)
XYZxyz(10.3313, 7.9922, 36.1129)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3248A4 #A48E32
analogous
#3281A4 #3248A4 #5532A4
triadic
#3248A4 #A43248 #48A432
tetradic
#3248A4 #A43281 #A48E32 #32A455
square
#3248A4 #A43281 #A48E32 #32A455
split-complementary
#3248A4 #A45532 #81A432
monochromatic
#151F46 #243375 #3248A4 #4B63C8 #7A8CD6

Accessibility & contrast

On white

8.08
#3248A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#3248A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3248A4
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3248A4#FFFFFF#000000##FFFFFF
##3248A41.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A7
Deuteranopia (green-blind)
#004BA2
Tritanopia (blue-blind)
#005E6F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3248a4;
/* rgb */ color: rgb(50, 72, 164);
/* oklch */ color: oklch(44.0% 0.151 269.2);
Tailwind
colors: {
  custom: {
    50: '#787ac0',
    500: '#3248a4',
    950: '#000000',
  },
}
SCSS
$custom: #3248a4;
$custom-light: #787ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#3248a4",
  "rgb": {
    "r": 50,
    "g": 72,
    "b": 164
  },
  "hsl": {
    "h": 228.421,
    "s": 53.271,
    "l": 41.961
  },
  "oklch": {
    "l": 0.43952,
    "c": 0.15052,
    "h": 269.2
  },
  "luminance": 0.07993
}

Semantic roles & 50–950 ramp

primary
#3248A4
secondary
#BFB073
accent
#C14BDD
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #3248A4

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

Preview Lab → · Contrast checker → · Palette generator →

#3248A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva