#2F15CA#2F15CA

#2F15CA is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 40.7% C 0.246 H 272.9°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#2F15CA
RGBrgb(47, 21, 202)
HSLhsl(249, 81%, 44%)
HSVhsv(249, 90%, 79%)
CMYKcmyk(76.7%, 89.6%, 0%, 20.8%)
CIE-LABlab(27.86, 62.48, -84.89)
CIE-LCHlch(27.86, 105.40, 306.35°)
OKLaboklab(40.66% 0.0126 -0.2453)
OKLCHoklch(40.66% 0.246 272.9)
XYZxyz(12.0976, 5.4036, 56.2711)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F15CA #B0CA15
analogous
#1555CA #2F15CA #8915CA
triadic
#2F15CA #CA2F15 #15CA2F
tetradic
#2F15CA #CA1555 #B0CA15 #15CA89
square
#2F15CA #CA1555 #B0CA15 #15CA89
split-complementary
#2F15CA #CA8915 #55CA15
monochromatic
#15095B #220F93 #2F15CA #4D32EA #7D6AEF

Accessibility & contrast

On white

10.09
#2F15CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2F15CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F15CA
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F15CA#FFFFFF#000000##FFFFFF
##2F15CA1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.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: #2f15ca;
/* rgb */ color: rgb(47, 21, 202);
/* oklch */ color: oklch(40.7% 0.246 272.9);
Tailwind
colors: {
  custom: {
    50: '#845edc',
    500: '#2f15ca',
    950: '#000000',
  },
}
SCSS
$custom: #2f15ca;
$custom-light: #845edc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f15ca",
  "rgb": {
    "r": 47,
    "g": 21,
    "b": 202
  },
  "hsl": {
    "h": 248.619,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.40656,
    "c": 0.24561,
    "h": 272.9
  },
  "luminance": 0.05405
}

Semantic roles & 50–950 ramp

primary
#2F15CA
secondary
#C5D566
accent
#F830DB
background
#F9F5FD
surface
#F1EAFB
border
#CBC6D4
text
#0D0515
muted
#7E7983

Preview Lab

Preview with #2F15CA

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

Preview Lab → · Contrast checker → · Palette generator →

#2F15CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva