#3427AB#3427AB

#3427AB is a dark, vivid blue. Relative luminance 0.051; OKLCH L 39.2% C 0.197 H 276.6°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#3427AB
RGBrgb(52, 39, 171)
HSLhsl(246, 63%, 41%)
HSVhsv(246, 77%, 67%)
CMYKcmyk(69.6%, 77.2%, 0%, 32.9%)
CIE-LABlab(27.08, 46.29, -67.78)
CIE-LCHlch(27.08, 82.08, 304.33°)
OKLaboklab(39.16% 0.0226 -0.1959)
OKLCHoklch(39.16% 0.197 276.6)
XYZxyz(9.4900, 5.1205, 39.0084)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3427AB #9EAB27
analogous
#275CAB #3427AB #7627AB
triadic
#3427AB #AB3427 #27AB34
tetradic
#3427AB #AB275C #9EAB27 #27AB76
square
#3427AB #AB275C #9EAB27 #27AB76
split-complementary
#3427AB #AB7627 #5CAB27
monochromatic
#161047 #251C79 #3427AB #4B3DD3 #796EDE

Accessibility & contrast

On white

10.37
#3427AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#3427AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3427AB
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3427AB#FFFFFF#000000##FFFFFF
##3427AB1.0010.372.0210.37
#FFFFFF10.371.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AF
Deuteranopia (green-blind)
#003AA9
Tritanopia (blue-blind)
#004E68
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3427ab;
/* rgb */ color: rgb(52, 39, 171);
/* oklch */ color: oklch(39.2% 0.197 276.6);
Tailwind
colors: {
  custom: {
    50: '#7d64c5',
    500: '#3427ab',
    950: '#000000',
  },
}
SCSS
$custom: #3427ab;
$custom-light: #7d64c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3427ab",
  "rgb": {
    "r": 52,
    "g": 39,
    "b": 171
  },
  "hsl": {
    "h": 245.909,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.39159,
    "c": 0.19719,
    "h": 276.6
  },
  "luminance": 0.05121
}

Semantic roles & 50–950 ramp

primary
#3427AB
secondary
#BCC569
accent
#E642D6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3427AB

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

Preview Lab → · Contrast checker → · Palette generator →

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