#2D2FC7#2D2FC7

#2D2FC7 is a dark, highly saturated blue. Relative luminance 0.067; OKLCH L 42.8% C 0.225 H 271.2°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#2D2FC7
RGBrgb(45, 47, 199)
HSLhsl(239, 63%, 48%)
HSVhsv(239, 77%, 78%)
CMYKcmyk(77.4%, 76.4%, 0%, 22%)
CIE-LABlab(31.14, 50.41, -77.67)
CIE-LCHlch(31.14, 92.59, 302.98°)
OKLaboklab(42.8% 0.0048 -0.2249)
OKLCHoklch(42.8% 0.225 271.2)
XYZxyz(12.4040, 6.7131, 54.6638)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2FC7 #C7C52D
analogous
#2D7CC7 #2D2FC7 #782DC7
triadic
#2D2FC7 #C72D2F #2FC72D
tetradic
#2D2FC7 #C72D7C #C7C52D #2DC778
square
#2D2FC7 #C72D7C #C7C52D #2DC778
split-complementary
#2D2FC7 #C7782D #7CC72D
monochromatic
#161763 #222395 #2D2FC7 #585AD9 #8A8BE5

Accessibility & contrast

On white

8.96
#2D2FC7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2D2FC7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2FC7
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2FC7#FFFFFF#000000##FFFFFF
##2D2FC71.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051CB
Deuteranopia (green-blind)
#0041C4
Tritanopia (blue-blind)
#005D7A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2d2fc7;
/* rgb */ color: rgb(45, 47, 199);
/* oklch */ color: oklch(42.8% 0.225 271.2);
Tailwind
colors: {
  custom: {
    50: '#816ad9',
    500: '#2d2fc7',
    950: '#000000',
  },
}
SCSS
$custom: #2d2fc7;
$custom-light: #816ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2fc7",
  "rgb": {
    "r": 45,
    "g": 47,
    "b": 199
  },
  "hsl": {
    "h": 239.221,
    "s": 63.115,
    "l": 47.843
  },
  "oklch": {
    "l": 0.42797,
    "c": 0.22494,
    "h": 271.2
  },
  "luminance": 0.06714
}

Semantic roles & 50–950 ramp

primary
#2D2FC7
secondary
#CECD81
accent
#E442E6
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #2D2FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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