#2D2FCA#2D2FCA

#2D2FCA is a dark, highly saturated blue. Relative luminance 0.069; OKLCH L 43.1% C 0.228 H 271.1°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#2D2FCA
RGBrgb(45, 47, 202)
HSLhsl(239, 64%, 48%)
HSVhsv(239, 78%, 79%)
CMYKcmyk(77.7%, 76.7%, 0%, 20.8%)
CIE-LABlab(31.47, 51.37, -78.88)
CIE-LCHlch(31.47, 94.14, 303.07°)
OKLaboklab(43.12% 0.0042 -0.2284)
OKLCHoklch(43.12% 0.228 271.1)
XYZxyz(12.7558, 6.8538, 56.5163)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2FCA #CAC82D
analogous
#2D7DCA #2D2FCA #792DCA
triadic
#2D2FCA #CA2D2F #2FCA2D
tetradic
#2D2FCA #CA2D7D #CAC82D #2DCA79
square
#2D2FCA #CA2D7D #CAC82D #2DCA79
split-complementary
#2D2FCA #CA792D #7DCA2D
monochromatic
#171866 #222398 #2D2FCA #5A5CDA #8C8DE5

Accessibility & contrast

On white

8.86
#2D2FCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2D2FCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2FCA
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2FCA#FFFFFF#000000##FFFFFF
##2D2FCA1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052CE
Deuteranopia (green-blind)
#0042C7
Tritanopia (blue-blind)
#005E7B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2d2fca;
/* rgb */ color: rgb(45, 47, 202);
/* oklch */ color: oklch(43.1% 0.228 271.1);
Tailwind
colors: {
  custom: {
    50: '#816adc',
    500: '#2d2fca',
    950: '#000000',
  },
}
SCSS
$custom: #2d2fca;
$custom-light: #816adc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2fca",
  "rgb": {
    "r": 45,
    "g": 47,
    "b": 202
  },
  "hsl": {
    "h": 239.236,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.43123,
    "c": 0.22845,
    "h": 271.1
  },
  "luminance": 0.06855
}

Semantic roles & 50–950 ramp

primary
#2D2FCA
secondary
#CFCF83
accent
#E441E7
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #2D2FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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