#2F2ED0#2F2ED0

#2F2ED0 is a dark, highly saturated blue. Relative luminance 0.071; OKLCH L 43.8% C 0.236 H 271.3°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#2F2ED0
RGBrgb(47, 46, 208)
HSLhsl(240, 64%, 50%)
HSVhsv(240, 78%, 82%)
CMYKcmyk(77.4%, 77.9%, 0%, 18.4%)
CIE-LABlab(32.06, 53.93, -81.40)
CIE-LCHlch(32.06, 97.64, 303.52°)
OKLaboklab(43.76% 0.0055 -0.2357)
OKLCHoklch(43.76% 0.236 271.3)
XYZxyz(13.5306, 7.1109, 60.3217)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2ED0 #CFD02E
analogous
#2E7ED0 #2F2ED0 #802ED0
triadic
#2F2ED0 #D02F2E #2ED02F
tetradic
#2F2ED0 #D02E7E #CFD02E #2ED080
square
#2F2ED0 #D02E7E #CFD02E #2ED080
split-complementary
#2F2ED0 #D0802E #7ED02E
monochromatic
#18186C #24239E #2F2ED0 #605FDC #9292E7

Accessibility & contrast

On white

8.67
#2F2ED0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2F2ED0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2ED0
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2ED0#FFFFFF#000000##FFFFFF
##2F2ED01.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053D5
Deuteranopia (green-blind)
#0043CD
Tritanopia (blue-blind)
#00607F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2f2ed0;
/* rgb */ color: rgb(47, 46, 208);
/* oklch */ color: oklch(43.8% 0.236 271.3);
Tailwind
colors: {
  custom: {
    50: '#836ae0',
    500: '#2f2ed0',
    950: '#000000',
  },
}
SCSS
$custom: #2f2ed0;
$custom-light: #836ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2ed0",
  "rgb": {
    "r": 47,
    "g": 46,
    "b": 208
  },
  "hsl": {
    "h": 240.37,
    "s": 63.78,
    "l": 49.804
  },
  "oklch": {
    "l": 0.43756,
    "c": 0.23573,
    "h": 271.3
  },
  "luminance": 0.07112
}

Semantic roles & 50–950 ramp

primary
#2F2ED0
secondary
#D1D288
accent
#E741E6
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #2F2ED0

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

Preview Lab → · Contrast checker → · Palette generator →

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