#320CF4#320CF4

#320CF4 is a mid, highly saturated blue. Relative luminance 0.075; OKLCH L 45.6% C 0.291 H 271.0°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#320CF4
RGBrgb(50, 12, 244)
HSLhsl(250, 91%, 50%)
HSVhsv(250, 95%, 96%)
CMYKcmyk(79.5%, 95.1%, 0%, 4.3%)
CIE-LABlab(32.86, 75.32, -100.70)
CIE-LCHlch(32.86, 125.75, 306.80°)
OKLaboklab(45.58% 0.005 -0.2908)
OKLCHoklch(45.58% 0.291 271)
XYZxyz(17.7705, 7.4707, 86.0758)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320CF4 #CEF40C
analogous
#0C5AF4 #320CF4 #A60CF4
triadic
#320CF4 #F4320C #0CF432
tetradic
#320CF4 #F40C5A #CEF40C #0CF4A6
square
#320CF4 #F40C5A #CEF40C #0CF4A6
split-complementary
#320CF4 #F4A60C #5AF40C
monochromatic
#1A0680 #2608BA #320CF4 #6347F7 #9581F9

Accessibility & contrast

On white

8.42
#320CF4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#320CF4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #320CF4
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320CF4#FFFFFF#000000##FFFFFF
##320CF41.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057F9
Deuteranopia (green-blind)
#0042F1
Tritanopia (blue-blind)
#006790
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #320cf4;
/* rgb */ color: rgb(50, 12, 244);
/* oklch */ color: oklch(45.6% 0.291 271.0);
Tailwind
colors: {
  custom: {
    50: '#8f60fa',
    500: '#320cf4',
    950: '#000000',
  },
}
SCSS
$custom: #320cf4;
$custom-light: #8f60fa;
$custom-dark: #000000;
JSON
{
  "hex": "#320cf4",
  "rgb": {
    "r": 50,
    "g": 12,
    "b": 244
  },
  "hsl": {
    "h": 249.828,
    "s": 91.339,
    "l": 50.196
  },
  "oklch": {
    "l": 0.45584,
    "c": 0.29084,
    "h": 271
  },
  "luminance": 0.07473
}

Semantic roles & 50–950 ramp

primary
#320CF4
secondary
#D1E27A
accent
#FF29DC
background
#FAF6FF
surface
#F4EBFF
border
#CEC6D7
text
#0F0618
muted
#7F7A86

Preview Lab

Preview with #320CF4

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

Preview Lab → · Contrast checker → · Palette generator →

#320CF4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva