#2D2FC4#2D2FC4

#2D2FC4 is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.5% C 0.221 H 271.4°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#2D2FC4
RGBrgb(45, 47, 196)
HSLhsl(239, 63%, 47%)
HSVhsv(239, 77%, 77%)
CMYKcmyk(77%, 76%, 0%, 23.1%)
CIE-LABlab(30.82, 49.44, -76.45)
CIE-LCHlch(30.82, 91.04, 302.89°)
OKLaboklab(42.47% 0.0053 -0.2213)
OKLCHoklch(42.47% 0.221 271.4)
XYZxyz(12.0591, 6.5751, 52.8474)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2FC4 #C4C22D
analogous
#2D7BC4 #2D2FC4 #762DC4
triadic
#2D2FC4 #C42D2F #2FC42D
tetradic
#2D2FC4 #C42D7B #C4C22D #2DC476
square
#2D2FC4 #C42D7B #C4C22D #2DC476
split-complementary
#2D2FC4 #C4762D #7BC42D
monochromatic
#161760 #222392 #2D2FC4 #5658D8 #8889E4

Accessibility & contrast

On white

9.07
#2D2FC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2D2FC4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2FC4
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2FC4#FFFFFF#000000##FFFFFF
##2D2FC41.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C8
Deuteranopia (green-blind)
#0041C1
Tritanopia (blue-blind)
#005C78
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2d2fc4;
/* rgb */ color: rgb(45, 47, 196);
/* oklch */ color: oklch(42.5% 0.221 271.4);
Tailwind
colors: {
  custom: {
    50: '#806ad7',
    500: '#2d2fc4',
    950: '#000000',
  },
}
SCSS
$custom: #2d2fc4;
$custom-light: #806ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2fc4",
  "rgb": {
    "r": 45,
    "g": 47,
    "b": 196
  },
  "hsl": {
    "h": 239.205,
    "s": 62.656,
    "l": 47.255
  },
  "oklch": {
    "l": 0.42472,
    "c": 0.22141,
    "h": 271.4
  },
  "luminance": 0.06576
}

Semantic roles & 50–950 ramp

primary
#2D2FC4
secondary
#CDCC80
accent
#E442E6
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #2D2FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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