#3223A7#3223A7

#3223A7 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 38.1% C 0.197 H 276.7°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#3223A7
RGBrgb(50, 35, 167)
HSLhsl(247, 65%, 40%)
HSVhsv(247, 79%, 65%)
CMYKcmyk(70.1%, 79%, 0%, 34.5%)
CIE-LABlab(25.77, 46.91, -67.53)
CIE-LCHlch(25.77, 82.22, 304.79°)
OKLaboklab(38.08% 0.0228 -0.1952)
OKLCHoklch(38.08% 0.197 276.7)
XYZxyz(8.8892, 4.6694, 36.9845)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3223A7 #98A723
analogous
#2356A7 #3223A7 #7423A7
triadic
#3223A7 #A73223 #23A732
tetradic
#3223A7 #A72356 #98A723 #23A774
square
#3223A7 #A72356 #98A723 #23A774
split-complementary
#3223A7 #A77423 #56A723
monochromatic
#140E42 #231874 #3223A7 #4533D4 #7366DF

Accessibility & contrast

On white

10.86
#3223A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#3223A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3223A7
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3223A7#FFFFFF#000000##FFFFFF
##3223A71.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AB
Deuteranopia (green-blind)
#0037A5
Tritanopia (blue-blind)
#004B65
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3223a7;
/* rgb */ color: rgb(50, 35, 167);
/* oklch */ color: oklch(38.1% 0.197 276.7);
Tailwind
colors: {
  custom: {
    50: '#7c61c2',
    500: '#3223a7',
    950: '#000000',
  },
}
SCSS
$custom: #3223a7;
$custom-light: #7c61c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3223a7",
  "rgb": {
    "r": 50,
    "g": 35,
    "b": 167
  },
  "hsl": {
    "h": 246.818,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38078,
    "c": 0.1965,
    "h": 276.7
  },
  "luminance": 0.0467
}

Semantic roles & 50–950 ramp

primary
#3223A7
secondary
#B9C461
accent
#E83FD5
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #3223A7

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

Preview Lab → · Contrast checker → · Palette generator →

#3223A7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva