#3427A2#3427A2

#3427A2 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.2% C 0.186 H 277.6°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#3427A2
RGBrgb(52, 39, 162)
HSLhsl(246, 61%, 39%)
HSVhsv(246, 76%, 64%)
CMYKcmyk(67.9%, 75.9%, 0%, 36.5%)
CIE-LABlab(26.13, 43.43, -63.91)
CIE-LCHlch(26.13, 77.27, 304.20°)
OKLaboklab(38.21% 0.0247 -0.1846)
OKLCHoklch(38.21% 0.186 277.6)
XYZxyz(8.6612, 4.7890, 34.6433)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3427A2 #95A227
analogous
#2758A2 #3427A2 #7127A2
triadic
#3427A2 #A23427 #27A234
tetradic
#3427A2 #A22758 #95A227 #27A271
square
#3427A2 #A22758 #95A227 #27A271
split-complementary
#3427A2 #A27127 #58A227
monochromatic
#140F3F #241B71 #3427A2 #4737CF #7569DB

Accessibility & contrast

On white

10.73
#3427A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#3427A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3427A2
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3427A2#FFFFFF#000000##FFFFFF
##3427A21.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A6
Deuteranopia (green-blind)
#0039A0
Tritanopia (blue-blind)
#004B63
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3427a2;
/* rgb */ color: rgb(52, 39, 162);
/* oklch */ color: oklch(38.2% 0.186 277.6);
Tailwind
colors: {
  custom: {
    50: '#7b64bf',
    500: '#3427a2',
    950: '#000000',
  },
}
SCSS
$custom: #3427a2;
$custom-light: #7b64bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3427a2",
  "rgb": {
    "r": 52,
    "g": 39,
    "b": 162
  },
  "hsl": {
    "h": 246.341,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.38207,
    "c": 0.18627,
    "h": 277.6
  },
  "luminance": 0.0479
}

Semantic roles & 50–950 ramp

primary
#3427A2
secondary
#B7C164
accent
#E443D3
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3427A2

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

Preview Lab → · Contrast checker → · Palette generator →

#3427A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva