#2D2EC9#2D2EC9

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

Color values

HEX#2D2EC9
RGBrgb(45, 46, 201)
HSLhsl(240, 63%, 48%)
HSVhsv(240, 78%, 79%)
CMYKcmyk(77.6%, 77.1%, 0%, 21.2%)
CIE-LABlab(31.18, 51.58, -78.79)
CIE-LCHlch(31.18, 94.17, 303.21°)
OKLaboklab(42.88% 0.0047 -0.2281)
OKLCHoklch(42.88% 0.228 271.2)
XYZxyz(12.5982, 6.7275, 55.8816)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2EC9 #C9C82D
analogous
#2D7CC9 #2D2EC9 #7A2DC9
triadic
#2D2EC9 #C92D2E #2EC92D
tetradic
#2D2EC9 #C92D7C #C9C82D #2DC97A
square
#2D2EC9 #C92D7C #C9C82D #2DC97A
split-complementary
#2D2EC9 #C97A2D #7CC92D
monochromatic
#171765 #222397 #2D2EC9 #595ADA #8B8CE5

Accessibility & contrast

On white

8.95
#2D2EC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2D2EC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2EC9
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2EC9#FFFFFF#000000##FFFFFF
##2D2EC91.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051CD
Deuteranopia (green-blind)
#0041C6
Tritanopia (blue-blind)
#005D7B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2d2ec9;
/* rgb */ color: rgb(45, 46, 201);
/* oklch */ color: oklch(42.9% 0.228 271.2);
Tailwind
colors: {
  custom: {
    50: '#8169db',
    500: '#2d2ec9',
    950: '#000000',
  },
}
SCSS
$custom: #2d2ec9;
$custom-light: #8169db;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2ec9",
  "rgb": {
    "r": 45,
    "g": 46,
    "b": 201
  },
  "hsl": {
    "h": 239.615,
    "s": 63.415,
    "l": 48.235
  },
  "oklch": {
    "l": 0.42884,
    "c": 0.22816,
    "h": 271.2
  },
  "luminance": 0.06729
}

Semantic roles & 50–950 ramp

primary
#2D2EC9
secondary
#CFCF83
accent
#E541E6
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #2D2EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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