#2F2ECA#2F2ECA

#2F2ECA is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 43.1% C 0.229 H 271.7°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#2F2ECA
RGBrgb(47, 46, 202)
HSLhsl(240, 63%, 49%)
HSVhsv(240, 77%, 79%)
CMYKcmyk(76.7%, 77.2%, 0%, 20.8%)
CIE-LABlab(31.40, 52.04, -79.01)
CIE-LCHlch(31.40, 94.60, 303.37°)
OKLaboklab(43.1% 0.0067 -0.2287)
OKLCHoklch(43.1% 0.229 271.7)
XYZxyz(12.8064, 6.8212, 56.5074)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2ECA #C9CA2E
analogous
#2E7BCA #2F2ECA #7D2ECA
triadic
#2F2ECA #CA2F2E #2ECA2F
tetradic
#2F2ECA #CA2E7B #C9CA2E #2ECA7D
square
#2F2ECA #CA2E7B #C9CA2E #2ECA7D
split-complementary
#2F2ECA #CA7D2E #7BCA2E
monochromatic
#181766 #232398 #2F2ECA #5C5BDA #8E8DE5

Accessibility & contrast

On white

8.88
#2F2ECA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2F2ECA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2ECA
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2ECA#FFFFFF#000000##FFFFFF
##2F2ECA1.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052CE
Deuteranopia (green-blind)
#0042C7
Tritanopia (blue-blind)
#005D7B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2f2eca;
/* rgb */ color: rgb(47, 46, 202);
/* oklch */ color: oklch(43.1% 0.229 271.7);
Tailwind
colors: {
  custom: {
    50: '#826adc',
    500: '#2f2eca',
    950: '#000000',
  },
}
SCSS
$custom: #2f2eca;
$custom-light: #826adc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2eca",
  "rgb": {
    "r": 47,
    "g": 46,
    "b": 202
  },
  "hsl": {
    "h": 240.385,
    "s": 62.903,
    "l": 48.627
  },
  "oklch": {
    "l": 0.43099,
    "c": 0.22881,
    "h": 271.7
  },
  "luminance": 0.06823
}

Semantic roles & 50–950 ramp

primary
#2F2ECA
secondary
#CFCF84
accent
#E642E5
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0D0715
muted
#7D7A83

Preview Lab

Preview with #2F2ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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