#3225A8#3225A8

#3225A8 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.4% C 0.196 H 276.3°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#3225A8
RGBrgb(50, 37, 168)
HSLhsl(246, 64%, 40%)
HSVhsv(246, 78%, 66%)
CMYKcmyk(70.2%, 78%, 0%, 34.1%)
CIE-LABlab(26.24, 46.20, -67.36)
CIE-LCHlch(26.24, 81.68, 304.44°)
OKLaboklab(38.44% 0.0216 -0.1947)
OKLCHoklch(38.44% 0.196 276.3)
XYZxyz(9.0425, 4.8276, 37.4935)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3225A8 #9BA825
analogous
#255AA8 #3225A8 #7325A8
triadic
#3225A8 #A83225 #25A832
tetradic
#3225A8 #A8255A #9BA825 #25A873
square
#3225A8 #A8255A #9BA825 #25A873
split-complementary
#3225A8 #A87325 #5AA825
monochromatic
#140F44 #231A76 #3225A8 #4737D3 #7569DE

Accessibility & contrast

On white

10.68
#3225A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#3225A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3225A8
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3225A8#FFFFFF#000000##FFFFFF
##3225A81.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AC
Deuteranopia (green-blind)
#0038A6
Tritanopia (blue-blind)
#004C66
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3225a8;
/* rgb */ color: rgb(50, 37, 168);
/* oklch */ color: oklch(38.4% 0.196 276.3);
Tailwind
colors: {
  custom: {
    50: '#7c63c3',
    500: '#3225a8',
    950: '#000000',
  },
}
SCSS
$custom: #3225a8;
$custom-light: #7c63c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3225a8",
  "rgb": {
    "r": 50,
    "g": 37,
    "b": 168
  },
  "hsl": {
    "h": 245.954,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38437,
    "c": 0.1959,
    "h": 276.3
  },
  "luminance": 0.04828
}

Semantic roles & 50–950 ramp

primary
#3225A8
secondary
#BBC465
accent
#E741D6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #3225A8

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

Preview Lab → · Contrast checker → · Palette generator →

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