#2F2FD2#2F2FD2

#2F2FD2 is a dark, highly saturated blue. Relative luminance 0.073; OKLCH L 44.1% C 0.237 H 271.2°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#2F2FD2
RGBrgb(47, 47, 210)
HSLhsl(240, 64%, 50%)
HSVhsv(240, 78%, 82%)
CMYKcmyk(77.6%, 77.6%, 0%, 17.6%)
CIE-LABlab(32.46, 54.05, -81.90)
CIE-LCHlch(32.46, 98.13, 303.42°)
OKLaboklab(44.1% 0.0049 -0.2371)
OKLCHoklch(44.1% 0.237 271.2)
XYZxyz(13.8177, 7.2890, 61.6389)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2FD2 #D2D22F
analogous
#2F80D2 #2F2FD2 #802FD2
triadic
#2F2FD2 #D22F2F #2FD22F
tetradic
#2F2FD2 #D22F80 #D2D22F #2FD280
square
#2F2FD2 #D22F80 #D2D22F #2FD280
split-complementary
#2F2FD2 #D2802F #80D22F
monochromatic
#18186F #2323A1 #2F2FD2 #6161DD #9494E8

Accessibility & contrast

On white

8.54
#2F2FD2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2F2FD2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2FD2
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2FD2#FFFFFF#000000##FFFFFF
##2F2FD21.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054D7
Deuteranopia (green-blind)
#0044CF
Tritanopia (blue-blind)
#006180
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2f2fd2;
/* rgb */ color: rgb(47, 47, 210);
/* oklch */ color: oklch(44.1% 0.237 271.2);
Tailwind
colors: {
  custom: {
    50: '#846be1',
    500: '#2f2fd2',
    950: '#000000',
  },
}
SCSS
$custom: #2f2fd2;
$custom-light: #846be1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2fd2",
  "rgb": {
    "r": 47,
    "g": 47,
    "b": 210
  },
  "hsl": {
    "h": 240,
    "s": 64.427,
    "l": 50.392
  },
  "oklch": {
    "l": 0.441,
    "c": 0.23718,
    "h": 271.2
  },
  "luminance": 0.07291
}

Semantic roles & 50–950 ramp

primary
#2F2FD2
secondary
#D3D38A
accent
#E740E7
background
#F9F6FE
surface
#F1EBFC
border
#CBC6D5
text
#0D0716
muted
#7E7A84

Preview Lab

Preview with #2F2FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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