#2F2DE2#2F2DE2

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

Color values

HEX#2F2DE2
RGBrgb(47, 45, 226)
HSLhsl(241, 76%, 53%)
HSVhsv(241, 80%, 89%)
CMYKcmyk(79.2%, 80.1%, 0%, 11.4%)
CIE-LABlab(33.92, 59.94, -88.69)
CIE-LCHlch(33.92, 107.04, 304.05°)
OKLaboklab(45.65% 0.0022 -0.2567)
OKLCHoklch(45.65% 0.257 270.5)
XYZxyz(15.8335, 7.9703, 72.6407)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2DE2 #E0E22D
analogous
#2D85E2 #2F2DE2 #892DE2
triadic
#2F2DE2 #E22F2D #2DE22F
tetradic
#2F2DE2 #E22D85 #E0E22D #2DE289
square
#2F2DE2 #E22D85 #E0E22D #2DE289
split-complementary
#2F2DE2 #E2892D #85E22D
monochromatic
#131283 #1B19B8 #2F2DE2 #6463E9 #9A99F1

Accessibility & contrast

On white

8.09
#2F2DE2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2F2DE2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2DE2
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2DE2#FFFFFF#000000##FFFFFF
##2F2DE21.008.092.598.09
#FFFFFF8.091.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059E7
Deuteranopia (green-blind)
#0046DF
Tritanopia (blue-blind)
#006789
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2f2de2;
/* rgb */ color: rgb(47, 45, 226);
/* oklch */ color: oklch(45.6% 0.257 270.5);
Tailwind
colors: {
  custom: {
    50: '#886bed',
    500: '#2f2de2',
    950: '#000000',
  },
}
SCSS
$custom: #2f2de2;
$custom-light: #886bed;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2de2",
  "rgb": {
    "r": 47,
    "g": 45,
    "b": 226
  },
  "hsl": {
    "h": 240.663,
    "s": 75.732,
    "l": 53.137
  },
  "oklch": {
    "l": 0.45645,
    "c": 0.25676,
    "h": 270.5
  },
  "luminance": 0.07972
}

Semantic roles & 50–950 ramp

primary
#2F2DE2
secondary
#DCDC8E
accent
#F235F0
background
#F9F6FE
surface
#F2EBFD
border
#CCC6D5
text
#0E0717
muted
#7E7A85

Preview Lab

Preview with #2F2DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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