#3315CA#3315CA

#3315CA is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.9% C 0.245 H 274.2°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#3315CA
RGBrgb(51, 21, 202)
HSLhsl(250, 81%, 44%)
HSVhsv(250, 90%, 79%)
CMYKcmyk(74.8%, 89.6%, 0%, 20.8%)
CIE-LABlab(28.12, 62.66, -84.43)
CIE-LCHlch(28.12, 105.14, 306.58°)
OKLaboklab(40.91% 0.018 -0.2439)
OKLCHoklch(40.91% 0.245 274.2)
XYZxyz(12.2906, 5.5031, 56.2801)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3315CA #ACCA15
analogous
#1551CA #3315CA #8D15CA
triadic
#3315CA #CA3315 #15CA33
tetradic
#3315CA #CA1551 #ACCA15 #15CA8D
square
#3315CA #CA1551 #ACCA15 #15CA8D
split-complementary
#3315CA #CA8D15 #51CA15
monochromatic
#17095B #250F93 #3315CA #5132EA #806AEF

Accessibility & contrast

On white

10.00
#3315CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#3315CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3315CA
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3315CA#FFFFFF#000000##FFFFFF
##3315CA1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ACF
Deuteranopia (green-blind)
#003AC7
Tritanopia (blue-blind)
#005577
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3315ca;
/* rgb */ color: rgb(51, 21, 202);
/* oklch */ color: oklch(40.9% 0.245 274.2);
Tailwind
colors: {
  custom: {
    50: '#855edc',
    500: '#3315ca',
    950: '#000000',
  },
}
SCSS
$custom: #3315ca;
$custom-light: #855edc;
$custom-dark: #000000;
JSON
{
  "hex": "#3315ca",
  "rgb": {
    "r": 51,
    "g": 21,
    "b": 202
  },
  "hsl": {
    "h": 249.945,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.40907,
    "c": 0.24458,
    "h": 274.2
  },
  "luminance": 0.05504
}

Semantic roles & 50–950 ramp

primary
#3315CA
secondary
#C2D566
accent
#F830D7
background
#F9F5FD
surface
#F1EAFB
border
#CBC6D4
text
#0D0515
muted
#7E7983

Preview Lab

Preview with #3315CA

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

Preview Lab → · Contrast checker → · Palette generator →

#3315CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva