#3228AF#3228AF

#3228AF is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.6% C 0.202 H 275.3°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#3228AF
RGBrgb(50, 40, 175)
HSLhsl(244, 63%, 42%)
HSVhsv(244, 77%, 69%)
CMYKcmyk(71.4%, 77.1%, 0%, 31.4%)
CIE-LABlab(27.55, 46.84, -69.41)
CIE-LCHlch(27.55, 83.73, 304.01°)
OKLaboklab(39.58% 0.0185 -0.2007)
OKLCHoklch(39.58% 0.202 275.3)
XYZxyz(9.8095, 5.2899, 41.0532)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3228AF #A5AF28
analogous
#2862AF #3228AF #7528AF
triadic
#3228AF #AF3228 #28AF32
tetradic
#3228AF #AF2862 #A5AF28 #28AF75
square
#3228AF #AF2862 #A5AF28 #28AF75
split-complementary
#3228AF #AF7528 #62AF28
monochromatic
#16114B #241D7D #3228AF #4C41D4 #7B73DF

Accessibility & contrast

On white

10.20
#3228AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#3228AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3228AF
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3228AF#FFFFFF#000000##FFFFFF
##3228AF1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B3
Deuteranopia (green-blind)
#003BAD
Tritanopia (blue-blind)
#00506A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3228af;
/* rgb */ color: rgb(50, 40, 175);
/* oklch */ color: oklch(39.6% 0.202 275.3);
Tailwind
colors: {
  custom: {
    50: '#7d65c8',
    500: '#3228af',
    950: '#000000',
  },
}
SCSS
$custom: #3228af;
$custom-light: #7d65c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3228af",
  "rgb": {
    "r": 50,
    "g": 40,
    "b": 175
  },
  "hsl": {
    "h": 244.444,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.39578,
    "c": 0.20155,
    "h": 275.3
  },
  "luminance": 0.05291
}

Semantic roles & 50–950 ramp

primary
#3228AF
secondary
#BFC66D
accent
#E642DA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3228AF

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

Preview Lab → · Contrast checker → · Palette generator →

#3228AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva