#2F2BE2#2F2BE2

#2F2BE2 is a mid, highly saturated blue. Relative luminance 0.078; OKLCH L 45.4% C 0.258 H 270.6°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#2F2BE2
RGBrgb(47, 43, 226)
HSLhsl(241, 76%, 53%)
HSVhsv(241, 81%, 89%)
CMYKcmyk(79.2%, 81%, 0%, 11.4%)
CIE-LABlab(33.61, 60.86, -89.21)
CIE-LCHlch(33.61, 107.99, 304.30°)
OKLaboklab(45.43% 0.0026 -0.2582)
OKLCHoklch(45.43% 0.258 270.6)
XYZxyz(15.7590, 7.8213, 72.6159)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2BE2 #DEE22B
analogous
#2B83E2 #2F2BE2 #8A2BE2
triadic
#2F2BE2 #E22F2B #2BE22F
tetradic
#2F2BE2 #E22B83 #DEE22B #2BE28A
square
#2F2BE2 #E22B83 #DEE22B #2BE28A
split-complementary
#2F2BE2 #E28A2B #83E22B
monochromatic
#141281 #1C19B7 #2F2BE2 #6461E9 #9997F1

Accessibility & contrast

On white

8.19
#2F2BE2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2F2BE2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2BE2
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2BE2#FFFFFF#000000##FFFFFF
##2F2BE21.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058E7
Deuteranopia (green-blind)
#0045DF
Tritanopia (blue-blind)
#006688
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2f2be2;
/* rgb */ color: rgb(47, 43, 226);
/* oklch */ color: oklch(45.4% 0.258 270.6);
Tailwind
colors: {
  custom: {
    50: '#8869ed',
    500: '#2f2be2',
    950: '#000000',
  },
}
SCSS
$custom: #2f2be2;
$custom-light: #8869ed;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2be2",
  "rgb": {
    "r": 47,
    "g": 43,
    "b": 226
  },
  "hsl": {
    "h": 241.311,
    "s": 75.934,
    "l": 52.745
  },
  "oklch": {
    "l": 0.45427,
    "c": 0.25823,
    "h": 270.6
  },
  "luminance": 0.07823
}

Semantic roles & 50–950 ramp

primary
#2F2BE2
secondary
#DADC8D
accent
#F335EE
background
#F9F6FE
surface
#F2EBFD
border
#CCC6D5
text
#0E0717
muted
#7E7A85

Preview Lab

Preview with #2F2BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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