#2F2EE1#2F2EE1

#2F2EE1 is a mid, highly saturated blue. Relative luminance 0.080; OKLCH L 45.6% C 0.255 H 270.5°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#2F2EE1
RGBrgb(47, 46, 225)
HSLhsl(240, 75%, 53%)
HSVhsv(240, 80%, 88%)
CMYKcmyk(79.1%, 79.6%, 0%, 11.8%)
CIE-LABlab(33.97, 59.17, -88.04)
CIE-LCHlch(33.97, 106.07, 303.90°)
OKLaboklab(45.65% 0.0022 -0.2549)
OKLCHoklch(45.65% 0.255 270.5)
XYZxyz(15.7353, 7.9928, 71.9330)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2EE1 #E0E12E
analogous
#2E86E1 #2F2EE1 #882EE1
triadic
#2F2EE1 #E12F2E #2EE12F
tetradic
#2F2EE1 #E12E86 #E0E12E #2EE188
square
#2F2EE1 #E12E86 #E0E12E #2EE188
split-complementary
#2F2EE1 #E1882E #86E12E
monochromatic
#131382 #1B1AB7 #2F2EE1 #6464E9 #9A99F0

Accessibility & contrast

On white

8.08
#2F2EE1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#2F2EE1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2EE1
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2EE1#FFFFFF#000000##FFFFFF
##2F2EE11.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059E6
Deuteranopia (green-blind)
#0046DE
Tritanopia (blue-blind)
#006788
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2f2ee1;
/* rgb */ color: rgb(47, 46, 225);
/* oklch */ color: oklch(45.6% 0.255 270.5);
Tailwind
colors: {
  custom: {
    50: '#876bec',
    500: '#2f2ee1',
    950: '#000000',
  },
}
SCSS
$custom: #2f2ee1;
$custom-light: #876bec;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2ee1",
  "rgb": {
    "r": 47,
    "g": 46,
    "b": 225
  },
  "hsl": {
    "h": 240.335,
    "s": 74.895,
    "l": 53.137
  },
  "oklch": {
    "l": 0.45645,
    "c": 0.2549,
    "h": 270.5
  },
  "luminance": 0.07995
}

Semantic roles & 50–950 ramp

primary
#2F2EE1
secondary
#DCDC8F
accent
#F236F0
background
#F9F6FE
surface
#F2EBFD
border
#CCC6D5
text
#0E0716
muted
#7E7A84

Preview Lab

Preview with #2F2EE1

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

Preview Lab → · Contrast checker → · Palette generator →

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