#3227CD#3227CD

#3227CD is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.8% C 0.237 H 272.8°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#3227CD
RGBrgb(50, 39, 205)
HSLhsl(244, 68%, 48%)
HSVhsv(244, 81%, 80%)
CMYKcmyk(75.6%, 81%, 0%, 19.6%)
CIE-LABlab(30.73, 56.59, -81.86)
CIE-LCHlch(30.73, 99.52, 304.65°)
OKLaboklab(42.78% 0.0118 -0.2368)
OKLCHoklch(42.78% 0.237 272.8)
XYZxyz(13.0567, 6.5355, 58.3191)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3227CD #C2CD27
analogous
#276FCD #3227CD #8527CD
triadic
#3227CD #CD3227 #27CD32
tetradic
#3227CD #CD276F #C2CD27 #27CD85
square
#3227CD #CD276F #C2CD27 #27CD85
split-complementary
#3227CD #CD8527 #6FCD27
monochromatic
#191366 #251D9A #3227CD #5C53DE #8D86E8

Accessibility & contrast

On white

9.10
#3227CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#3227CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3227CD
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3227CD#FFFFFF#000000##FFFFFF
##3227CD1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050D2
Deuteranopia (green-blind)
#0040CA
Tritanopia (blue-blind)
#005C7B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3227cd;
/* rgb */ color: rgb(50, 39, 205);
/* oklch */ color: oklch(42.8% 0.237 272.8);
Tailwind
colors: {
  custom: {
    50: '#8466de',
    500: '#3227cd',
    950: '#000000',
  },
}
SCSS
$custom: #3227cd;
$custom-light: #8466de;
$custom-dark: #000000;
JSON
{
  "hex": "#3227cd",
  "rgb": {
    "r": 50,
    "g": 39,
    "b": 205
  },
  "hsl": {
    "h": 243.976,
    "s": 68.033,
    "l": 47.843
  },
  "oklch": {
    "l": 0.42775,
    "c": 0.23712,
    "h": 272.8
  },
  "luminance": 0.06537
}

Semantic roles & 50–950 ramp

primary
#3227CD
secondary
#CCD17E
accent
#EB3DDF
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #3227CD

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

Preview Lab → · Contrast checker → · Palette generator →

#3227CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva