#2F2FD0#2F2FD0

#2F2FD0 is a dark, highly saturated blue. Relative luminance 0.072; OKLCH L 43.9% C 0.235 H 271.3°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#2F2FD0
RGBrgb(47, 47, 208)
HSLhsl(240, 63%, 50%)
HSVhsv(240, 77%, 82%)
CMYKcmyk(77.4%, 77.4%, 0%, 18.4%)
CIE-LABlab(32.24, 53.42, -81.11)
CIE-LCHlch(32.24, 97.12, 303.37°)
OKLaboklab(43.88% 0.0052 -0.2348)
OKLCHoklch(43.88% 0.235 271.3)
XYZxyz(13.5701, 7.1899, 60.3349)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2FD0 #D0D02F
analogous
#2F7FD0 #2F2FD0 #7F2FD0
triadic
#2F2FD0 #D02F2F #2FD02F
tetradic
#2F2FD0 #D02F80 #D0D02F #2FD080
square
#2F2FD0 #D02F80 #D0D02F #2FD080
split-complementary
#2F2FD0 #D0802F #80D02F
monochromatic
#18186C #24249E #2F2FD0 #6161DB #9393E7

Accessibility & contrast

On white

8.61
#2F2FD0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2F2FD0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2FD0
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2FD0#FFFFFF#000000##FFFFFF
##2F2FD01.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054D5
Deuteranopia (green-blind)
#0044CD
Tritanopia (blue-blind)
#00607F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2f2fd0;
/* rgb */ color: rgb(47, 47, 208);
/* oklch */ color: oklch(43.9% 0.235 271.3);
Tailwind
colors: {
  custom: {
    50: '#836be0',
    500: '#2f2fd0',
    950: '#000000',
  },
}
SCSS
$custom: #2f2fd0;
$custom-light: #836be0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2fd0",
  "rgb": {
    "r": 47,
    "g": 47,
    "b": 208
  },
  "hsl": {
    "h": 240,
    "s": 63.137,
    "l": 50
  },
  "oklch": {
    "l": 0.43881,
    "c": 0.23489,
    "h": 271.3
  },
  "luminance": 0.07191
}

Semantic roles & 50–950 ramp

primary
#2F2FD0
secondary
#D1D189
accent
#E642E6
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #2F2FD0

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

Preview Lab → · Contrast checker → · Palette generator →

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