#2D2FC9#2D2FC9

#2D2FC9 is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 43.0% C 0.227 H 271.1°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#2D2FC9
RGBrgb(45, 47, 201)
HSLhsl(239, 63%, 48%)
HSVhsv(239, 78%, 79%)
CMYKcmyk(77.6%, 76.6%, 0%, 21.2%)
CIE-LABlab(31.36, 51.05, -78.48)
CIE-LCHlch(31.36, 93.62, 303.04°)
OKLaboklab(43.01% 0.0044 -0.2272)
OKLCHoklch(43.01% 0.227 271.1)
XYZxyz(12.6377, 6.8066, 55.8948)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2FC9 #C9C72D
analogous
#2D7DC9 #2D2FC9 #792DC9
triadic
#2D2FC9 #C92D2F #2FC92D
tetradic
#2D2FC9 #C92D7D #C9C72D #2DC979
square
#2D2FC9 #C92D7D #C9C72D #2DC979
split-complementary
#2D2FC9 #C9792D #7DC92D
monochromatic
#171865 #222397 #2D2FC9 #595BDA #8B8CE5

Accessibility & contrast

On white

8.89
#2D2FC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2D2FC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2FC9
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2FC9#FFFFFF#000000##FFFFFF
##2D2FC91.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051CD
Deuteranopia (green-blind)
#0042C6
Tritanopia (blue-blind)
#005D7B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2d2fc9;
/* rgb */ color: rgb(45, 47, 201);
/* oklch */ color: oklch(43.0% 0.227 271.1);
Tailwind
colors: {
  custom: {
    50: '#816adb',
    500: '#2d2fc9',
    950: '#000000',
  },
}
SCSS
$custom: #2d2fc9;
$custom-light: #816adb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2fc9",
  "rgb": {
    "r": 45,
    "g": 47,
    "b": 201
  },
  "hsl": {
    "h": 239.231,
    "s": 63.415,
    "l": 48.235
  },
  "oklch": {
    "l": 0.43014,
    "c": 0.22728,
    "h": 271.1
  },
  "luminance": 0.06808
}

Semantic roles & 50–950 ramp

primary
#2D2FC9
secondary
#CFCE83
accent
#E441E6
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #2D2FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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