#330FFF#330FFF

#330FFF is a mid, highly saturated blue. Relative luminance 0.083; OKLCH L 47.1% C 0.301 H 270.6°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#330FFF
RGBrgb(51, 15, 255)
HSLhsl(249, 100%, 53%)
HSVhsv(249, 94%, 100%)
CMYKcmyk(80%, 94.1%, 0%, 0%)
CIE-LABlab(34.53, 77.52, -104.10)
CIE-LCHlch(34.53, 129.79, 306.67°)
OKLaboklab(47.11% 0.0031 -0.3007)
OKLCHoklch(47.11% 0.301 270.6)
XYZxyz(19.5800, 8.2632, 95.1514)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330FFF #DBFF0F
analogous
#0F63FF #330FFF #AB0FFF
triadic
#330FFF #FF330F #0FFF33
tetradic
#330FFF #FF0F63 #DBFF0F #0FFFAB
square
#330FFF #FF0F63 #DBFF0F #0FFFAB
split-complementary
#330FFF #FFAB0F #63FF0F
monochromatic
#160094 #1F00D1 #330FFF #674CFF #9B89FF

Accessibility & contrast

On white

7.92
#330FFF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#330FFF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330FFF
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330FFF#FFFFFF#000000##FFFFFF
##330FFF1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CFF
Deuteranopia (green-blind)
#0045FB
Tritanopia (blue-blind)
#006C97
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #330fff;
/* rgb */ color: rgb(51, 15, 255);
/* oklch */ color: oklch(47.1% 0.301 270.6);
Tailwind
colors: {
  custom: {
    50: '#9162ff',
    500: '#330fff',
    950: '#000000',
  },
}
SCSS
$custom: #330fff;
$custom-light: #9162ff;
$custom-dark: #000000;
JSON
{
  "hex": "#330fff",
  "rgb": {
    "r": 51,
    "g": 15,
    "b": 255
  },
  "hsl": {
    "h": 249,
    "s": 100,
    "l": 52.941
  },
  "oklch": {
    "l": 0.47114,
    "c": 0.30069,
    "h": 270.6
  },
  "luminance": 0.08265
}

Semantic roles & 50–950 ramp

primary
#330FFF
secondary
#D9E981
accent
#FF29DF
background
#FAF6FF
surface
#F4EBFF
border
#CEC6D7
text
#100618
muted
#7F7A86

Preview Lab

Preview with #330FFF

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

Preview Lab → · Contrast checker → · Palette generator →

#330FFF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva