#2F2CCA#2F2CCA

#2F2CCA is a dark, highly saturated blue. Relative luminance 0.067; OKLCH L 42.8% C 0.231 H 271.8°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#2F2CCA
RGBrgb(47, 44, 202)
HSLhsl(241, 64%, 48%)
HSVhsv(241, 78%, 79%)
CMYKcmyk(76.7%, 78.2%, 0%, 20.8%)
CIE-LABlab(31.04, 53.06, -79.60)
CIE-LCHlch(31.04, 95.66, 303.69°)
OKLaboklab(42.85% 0.0074 -0.2304)
OKLCHoklch(42.85% 0.231 271.8)
XYZxyz(12.7301, 6.6686, 56.4819)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2CCA #C7CA2C
analogous
#2C78CA #2F2CCA #7E2CCA
triadic
#2F2CCA #CA2F2C #2CCA2F
tetradic
#2F2CCA #CA2C78 #C7CA2C #2CCA7E
square
#2F2CCA #CA2C78 #C7CA2C #2CCA7E
split-complementary
#2F2CCA #CA7E2C #78CA2C
monochromatic
#181665 #232198 #2F2CCA #5B58DB #8C8BE6

Accessibility & contrast

On white

9.00
#2F2CCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2F2CCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2CCA
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2CCA#FFFFFF#000000##FFFFFF
##2F2CCA1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051CE
Deuteranopia (green-blind)
#0041C7
Tritanopia (blue-blind)
#005D7B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2f2cca;
/* rgb */ color: rgb(47, 44, 202);
/* oklch */ color: oklch(42.8% 0.231 271.8);
Tailwind
colors: {
  custom: {
    50: '#8268dc',
    500: '#2f2cca',
    950: '#000000',
  },
}
SCSS
$custom: #2f2cca;
$custom-light: #8268dc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2cca",
  "rgb": {
    "r": 47,
    "g": 44,
    "b": 202
  },
  "hsl": {
    "h": 241.139,
    "s": 64.228,
    "l": 48.235
  },
  "oklch": {
    "l": 0.42849,
    "c": 0.23052,
    "h": 271.8
  },
  "luminance": 0.0667
}

Semantic roles & 50–950 ramp

primary
#2F2CCA
secondary
#CED082
accent
#E741E4
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0D0615
muted
#7D7A83

Preview Lab

Preview with #2F2CCA

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

Preview Lab → · Contrast checker → · Palette generator →

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