#3422A8#3422A8

#3422A8 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 38.2% C 0.198 H 277.5°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#3422A8
RGBrgb(52, 34, 168)
HSLhsl(248, 66%, 40%)
HSVhsv(248, 80%, 66%)
CMYKcmyk(69%, 79.8%, 0%, 34.1%)
CIE-LABlab(25.86, 47.90, -67.97)
CIE-LCHlch(25.86, 83.16, 305.17°)
OKLaboklab(38.21% 0.0259 -0.1964)
OKLCHoklch(38.21% 0.198 277.5)
XYZxyz(9.0538, 4.7005, 37.4683)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3422A8 #96A822
analogous
#2253A8 #3422A8 #7722A8
triadic
#3422A8 #A83422 #22A834
tetradic
#3422A8 #A82253 #96A822 #22A877
square
#3422A8 #A82253 #96A822 #22A877
split-complementary
#3422A8 #A87722 #53A822
monochromatic
#140D42 #241875 #3422A8 #4832D5 #7565E0

Accessibility & contrast

On white

10.82
#3422A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#3422A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3422A8
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3422A8#FFFFFF#000000##FFFFFF
##3422A81.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AC
Deuteranopia (green-blind)
#0038A6
Tritanopia (blue-blind)
#004B65
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3422a8;
/* rgb */ color: rgb(52, 34, 168);
/* oklch */ color: oklch(38.2% 0.198 277.5);
Tailwind
colors: {
  custom: {
    50: '#7d61c3',
    500: '#3422a8',
    950: '#000000',
  },
}
SCSS
$custom: #3422a8;
$custom-light: #7d61c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3422a8",
  "rgb": {
    "r": 52,
    "g": 34,
    "b": 168
  },
  "hsl": {
    "h": 248.06,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38215,
    "c": 0.19809,
    "h": 277.5
  },
  "luminance": 0.04701
}

Semantic roles & 50–950 ramp

primary
#3422A8
secondary
#B8C561
accent
#E93FD2
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #3422A8

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

Preview Lab → · Contrast checker → · Palette generator →

#3422A8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva