#2F2ACA#2F2ACA

#2F2ACA is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.6% C 0.232 H 272.0°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#2F2ACA
RGBrgb(47, 42, 202)
HSLhsl(242, 66%, 48%)
HSVhsv(242, 79%, 79%)
CMYKcmyk(76.7%, 79.2%, 0%, 20.8%)
CIE-LABlab(30.70, 54.06, -80.17)
CIE-LCHlch(30.70, 96.69, 303.99°)
OKLaboklab(42.61% 0.008 -0.232)
OKLCHoklch(42.61% 0.232 272)
XYZxyz(12.6573, 6.5232, 56.4577)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2ACA #C5CA2A
analogous
#2A75CA #2F2ACA #7F2ACA
triadic
#2F2ACA #CA2F2A #2ACA2F
tetradic
#2F2ACA #CA2A75 #C5CA2A #2ACA7F
square
#2F2ACA #CA2A75 #C5CA2A #2ACA7F
split-complementary
#2F2ACA #CA7F2A #75CA2A
monochromatic
#171565 #231F97 #2F2ACA #5A55DC #8B88E6

Accessibility & contrast

On white

9.11
#2F2ACA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2F2ACA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2ACA
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2ACA#FFFFFF#000000##FFFFFF
##2F2ACA1.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050CE
Deuteranopia (green-blind)
#0040C7
Tritanopia (blue-blind)
#005C7A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2f2aca;
/* rgb */ color: rgb(47, 42, 202);
/* oklch */ color: oklch(42.6% 0.232 272.0);
Tailwind
colors: {
  custom: {
    50: '#8267dc',
    500: '#2f2aca',
    950: '#000000',
  },
}
SCSS
$custom: #2f2aca;
$custom-light: #8267dc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2aca",
  "rgb": {
    "r": 47,
    "g": 42,
    "b": 202
  },
  "hsl": {
    "h": 241.875,
    "s": 65.574,
    "l": 47.843
  },
  "oklch": {
    "l": 0.42608,
    "c": 0.23216,
    "h": 272
  },
  "luminance": 0.06525
}

Semantic roles & 50–950 ramp

primary
#2F2ACA
secondary
#CDD080
accent
#E93FE3
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0D0615
muted
#7D7A83

Preview Lab

Preview with #2F2ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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