#3015CA#3015CA

#3015CA is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 40.7% C 0.245 H 273.3°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#3015CA
RGBrgb(48, 21, 202)
HSLhsl(249, 81%, 44%)
HSVhsv(249, 90%, 79%)
CMYKcmyk(76.2%, 89.6%, 0%, 20.8%)
CIE-LABlab(27.92, 62.52, -84.78)
CIE-LCHlch(27.92, 105.34, 306.41°)
OKLaboklab(40.72% 0.0139 -0.2449)
OKLCHoklch(40.72% 0.245 273.3)
XYZxyz(12.1442, 5.4277, 56.2733)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3015CA #AFCA15
analogous
#1554CA #3015CA #8A15CA
triadic
#3015CA #CA3015 #15CA30
tetradic
#3015CA #CA1554 #AFCA15 #15CA8A
square
#3015CA #CA1554 #AFCA15 #15CA8A
split-complementary
#3015CA #CA8A15 #54CA15
monochromatic
#16095B #230F93 #3015CA #4E32EA #7E6AEF

Accessibility & contrast

On white

10.07
#3015CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#3015CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3015CA
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3015CA#FFFFFF#000000##FFFFFF
##3015CA1.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3015ca;
/* rgb */ color: rgb(48, 21, 202);
/* oklch */ color: oklch(40.7% 0.245 273.3);
Tailwind
colors: {
  custom: {
    50: '#845edc',
    500: '#3015ca',
    950: '#000000',
  },
}
SCSS
$custom: #3015ca;
$custom-light: #845edc;
$custom-dark: #000000;
JSON
{
  "hex": "#3015ca",
  "rgb": {
    "r": 48,
    "g": 21,
    "b": 202
  },
  "hsl": {
    "h": 248.95,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.40717,
    "c": 0.24535,
    "h": 273.3
  },
  "luminance": 0.05429
}

Semantic roles & 50–950 ramp

primary
#3015CA
secondary
#C4D566
accent
#F830DA
background
#F9F5FD
surface
#F1EAFB
border
#CBC6D4
text
#0D0515
muted
#7E7983

Preview Lab

Preview with #3015CA

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

Preview Lab → · Contrast checker → · Palette generator →

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