#3223A8#3223A8

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

Color values

HEX#3223A8
RGBrgb(50, 35, 168)
HSLhsl(247, 66%, 40%)
HSVhsv(247, 79%, 66%)
CMYKcmyk(70.2%, 79.2%, 0%, 34.1%)
CIE-LABlab(25.88, 47.22, -67.95)
CIE-LCHlch(25.88, 82.74, 304.80°)
OKLaboklab(38.19% 0.0226 -0.1964)
OKLCHoklch(38.19% 0.198 276.6)
XYZxyz(8.9820, 4.7065, 37.4733)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3223A8 #99A823
analogous
#2357A8 #3223A8 #7523A8
triadic
#3223A8 #A83223 #23A832
tetradic
#3223A8 #A82357 #99A823 #23A875
square
#3223A8 #A82357 #99A823 #23A875
split-complementary
#3223A8 #A87523 #57A823
monochromatic
#140E43 #231875 #3223A8 #4634D5 #7466DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3223A8#FFFFFF#000000##FFFFFF
##3223A81.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)
#0037A6
Tritanopia (blue-blind)
#004B65
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3223a8;
/* rgb */ color: rgb(50, 35, 168);
/* oklch */ color: oklch(38.2% 0.198 276.6);
Tailwind
colors: {
  custom: {
    50: '#7c61c3',
    500: '#3223a8',
    950: '#000000',
  },
}
SCSS
$custom: #3223a8;
$custom-light: #7c61c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3223a8",
  "rgb": {
    "r": 50,
    "g": 35,
    "b": 168
  },
  "hsl": {
    "h": 246.767,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38188,
    "c": 0.19768,
    "h": 276.6
  },
  "luminance": 0.04707
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3223A8

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

Preview Lab → · Contrast checker → · Palette generator →

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