#2D2EC7#2D2EC7

#2D2EC7 is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.7% C 0.226 H 271.3°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#2D2EC7
RGBrgb(45, 46, 199)
HSLhsl(240, 63%, 48%)
HSVhsv(240, 77%, 78%)
CMYKcmyk(77.4%, 76.9%, 0%, 22%)
CIE-LABlab(30.96, 50.94, -77.98)
CIE-LCHlch(30.96, 93.14, 303.15°)
OKLaboklab(42.67% 0.0051 -0.2258)
OKLCHoklch(42.67% 0.226 271.3)
XYZxyz(12.3645, 6.6340, 54.6506)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2EC7 #C7C62D
analogous
#2D7BC7 #2D2EC7 #792DC7
triadic
#2D2EC7 #C72D2E #2EC72D
tetradic
#2D2EC7 #C72D7B #C7C62D #2DC779
square
#2D2EC7 #C72D7B #C7C62D #2DC779
split-complementary
#2D2EC7 #C7792D #7BC72D
monochromatic
#161763 #222295 #2D2EC7 #5859D9 #8A8AE5

Accessibility & contrast

On white

9.02
#2D2EC7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2D2EC7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2EC7
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2EC7#FFFFFF#000000##FFFFFF
##2D2EC71.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d2ec7;
/* rgb */ color: rgb(45, 46, 199);
/* oklch */ color: oklch(42.7% 0.226 271.3);
Tailwind
colors: {
  custom: {
    50: '#8169d9',
    500: '#2d2ec7',
    950: '#000000',
  },
}
SCSS
$custom: #2d2ec7;
$custom-light: #8169d9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2ec7",
  "rgb": {
    "r": 45,
    "g": 46,
    "b": 199
  },
  "hsl": {
    "h": 239.61,
    "s": 63.115,
    "l": 47.843
  },
  "oklch": {
    "l": 0.42666,
    "c": 0.22583,
    "h": 271.3
  },
  "luminance": 0.06635
}

Semantic roles & 50–950 ramp

primary
#2D2EC7
secondary
#CECE81
accent
#E542E6
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #2D2EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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