#3241B8#3241B8

#3241B8 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.3% C 0.186 H 270.9°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#3241B8
RGBrgb(50, 65, 184)
HSLhsl(233, 57%, 46%)
HSVhsv(233, 73%, 72%)
CMYKcmyk(72.8%, 64.7%, 0%, 27.8%)
CIE-LABlab(33.81, 35.11, -64.45)
CIE-LCHlch(33.81, 73.39, 298.58°)
OKLaboklab(44.35% 0.003 -0.1863)
OKLCHoklch(44.35% 0.186 270.9)
XYZxyz(11.8545, 7.9182, 46.2417)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3241B8 #B8A932
analogous
#3284B8 #3241B8 #6632B8
triadic
#3241B8 #B83241 #41B832
tetradic
#3241B8 #B83284 #B8A932 #32B866
square
#3241B8 #B83284 #B8A932 #32B866
split-complementary
#3241B8 #B86632 #84B832
monochromatic
#181F58 #253088 #3241B8 #5664D1 #8690DE

Accessibility & contrast

On white

8.13
#3241B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#3241B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3241B8
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3241B8#FFFFFF#000000##FFFFFF
##3241B81.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BC
Deuteranopia (green-blind)
#0049B6
Tritanopia (blue-blind)
#006076
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3241b8;
/* rgb */ color: rgb(50, 65, 184);
/* oklch */ color: oklch(44.3% 0.186 270.9);
Tailwind
colors: {
  custom: {
    50: '#7d75ce',
    500: '#3241b8',
    950: '#000000',
  },
}
SCSS
$custom: #3241b8;
$custom-light: #7d75ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3241b8",
  "rgb": {
    "r": 50,
    "g": 65,
    "b": 184
  },
  "hsl": {
    "h": 233.284,
    "s": 57.265,
    "l": 45.882
  },
  "oklch": {
    "l": 0.44346,
    "c": 0.18629,
    "h": 270.9
  },
  "luminance": 0.07919
}

Semantic roles & 50–950 ramp

primary
#3241B8
secondary
#C8C07E
accent
#CF47E1
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #3241B8

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

Preview Lab → · Contrast checker → · Palette generator →

#3241B8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva