#2F2ED7#2F2ED7

#2F2ED7 is a dark, highly saturated blue. Relative luminance 0.075; OKLCH L 44.5% C 0.244 H 271.0°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#2F2ED7
RGBrgb(47, 46, 215)
HSLhsl(240, 68%, 51%)
HSVhsv(240, 79%, 84%)
CMYKcmyk(78.1%, 78.6%, 0%, 15.7%)
CIE-LABlab(32.84, 56.11, -84.16)
CIE-LCHlch(32.84, 101.15, 303.69°)
OKLaboklab(44.53% 0.0042 -0.2437)
OKLCHoklch(44.53% 0.244 271)
XYZxyz(14.4109, 7.4630, 64.9578)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2ED7 #D6D72E
analogous
#2E81D7 #2F2ED7 #832ED7
triadic
#2F2ED7 #D72F2E #2ED72F
tetradic
#2F2ED7 #D72E81 #D6D72E #2ED783
square
#2F2ED7 #D72E81 #D6D72E #2ED783
split-complementary
#2F2ED7 #D7832E #81D72E
monochromatic
#171674 #2120A8 #2F2ED7 #6261E1 #9595EB

Accessibility & contrast

On white

8.42
#2F2ED7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2F2ED7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2ED7
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2ED7#FFFFFF#000000##FFFFFF
##2F2ED71.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056DC
Deuteranopia (green-blind)
#0044D4
Tritanopia (blue-blind)
#006383
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2f2ed7;
/* rgb */ color: rgb(47, 46, 215);
/* oklch */ color: oklch(44.5% 0.244 271.0);
Tailwind
colors: {
  custom: {
    50: '#856ae5',
    500: '#2f2ed7',
    950: '#000000',
  },
}
SCSS
$custom: #2f2ed7;
$custom-light: #856ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2ed7",
  "rgb": {
    "r": 47,
    "g": 46,
    "b": 215
  },
  "hsl": {
    "h": 240.355,
    "s": 67.871,
    "l": 51.176
  },
  "oklch": {
    "l": 0.4453,
    "c": 0.2437,
    "h": 271
  },
  "luminance": 0.07465
}

Semantic roles & 50–950 ramp

primary
#2F2ED7
secondary
#D5D68B
accent
#EB3DEA
background
#F9F6FE
surface
#F1EBFC
border
#CBC6D5
text
#0D0716
muted
#7E7A84

Preview Lab

Preview with #2F2ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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