#2F32E2#2F32E2

#2F32E2 is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 46.2% C 0.253 H 270.2°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#2F32E2
RGBrgb(47, 50, 226)
HSLhsl(239, 76%, 54%)
HSVhsv(239, 79%, 89%)
CMYKcmyk(79.2%, 77.9%, 0%, 11.4%)
CIE-LABlab(34.75, 57.53, -87.31)
CIE-LCHlch(34.75, 104.56, 303.38°)
OKLaboklab(46.23% 0.001 -0.2528)
OKLCHoklch(46.23% 0.253 270.2)
XYZxyz(16.0357, 8.3747, 72.7081)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F32E2 #E2DF2F
analogous
#2F8CE2 #2F32E2 #852FE2
triadic
#2F32E2 #E22F32 #32E22F
tetradic
#2F32E2 #E22F8C #E2DF2F #2FE285
square
#2F32E2 #E22F8C #E2DF2F #2FE285
split-complementary
#2F32E2 #E2852F #8CE22F
monochromatic
#121484 #1A1DBA #2F32E2 #6567E9 #9A9CF1

Accessibility & contrast

On white

7.85
#2F32E2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#2F32E2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F32E2
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F32E2#FFFFFF#000000##FFFFFF
##2F32E21.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BE7
Deuteranopia (green-blind)
#0048DF
Tritanopia (blue-blind)
#00688A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2f32e2;
/* rgb */ color: rgb(47, 50, 226);
/* oklch */ color: oklch(46.2% 0.253 270.2);
Tailwind
colors: {
  custom: {
    50: '#876ded',
    500: '#2f32e2',
    950: '#000000',
  },
}
SCSS
$custom: #2f32e2;
$custom-light: #876ded;
$custom-dark: #000000;
JSON
{
  "hex": "#2f32e2",
  "rgb": {
    "r": 47,
    "g": 50,
    "b": 226
  },
  "hsl": {
    "h": 238.994,
    "s": 75.527,
    "l": 53.529
  },
  "oklch": {
    "l": 0.46225,
    "c": 0.25284,
    "h": 270.2
  },
  "luminance": 0.08377
}

Semantic roles & 50–950 ramp

primary
#2F32E2
secondary
#DDDB90
accent
#EF36F2
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0717
muted
#7E7A85

Preview Lab

Preview with #2F32E2

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

Preview Lab → · Contrast checker → · Palette generator →

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