#2D2EE2#2D2EE2

#2D2EE2 is a mid, highly saturated blue. Relative luminance 0.080; OKLCH L 45.7% C 0.257 H 270.0°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#2D2EE2
RGBrgb(45, 46, 226)
HSLhsl(240, 76%, 53%)
HSVhsv(240, 80%, 89%)
CMYKcmyk(80.1%, 79.6%, 0%, 11.4%)
CIE-LABlab(33.98, 59.37, -88.58)
CIE-LCHlch(33.98, 106.64, 303.83°)
OKLaboklab(45.66% -0.0001 -0.2565)
OKLCHoklch(45.66% 0.257 270)
XYZxyz(15.7820, 8.0010, 72.6493)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2EE2 #E2E12D
analogous
#2D88E2 #2D2EE2 #872DE2
triadic
#2D2EE2 #E22D2E #2EE22D
tetradic
#2D2EE2 #E22D88 #E2E12D #2DE287
square
#2D2EE2 #E22D88 #E2E12D #2DE287
split-complementary
#2D2EE2 #E2872D #88E22D
monochromatic
#121383 #191AB8 #2D2EE2 #6364E9 #9999F1

Accessibility & contrast

On white

8.08
#2D2EE2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#2D2EE2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2EE2
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2EE2#FFFFFF#000000##FFFFFF
##2D2EE21.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059E7
Deuteranopia (green-blind)
#0046DF
Tritanopia (blue-blind)
#006789
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2d2ee2;
/* rgb */ color: rgb(45, 46, 226);
/* oklch */ color: oklch(45.7% 0.257 270.0);
Tailwind
colors: {
  custom: {
    50: '#876bed',
    500: '#2d2ee2',
    950: '#000000',
  },
}
SCSS
$custom: #2d2ee2;
$custom-light: #876bed;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2ee2",
  "rgb": {
    "r": 45,
    "g": 46,
    "b": 226
  },
  "hsl": {
    "h": 239.669,
    "s": 75.732,
    "l": 53.137
  },
  "oklch": {
    "l": 0.45663,
    "c": 0.2565,
    "h": 270
  },
  "luminance": 0.08003
}

Semantic roles & 50–950 ramp

primary
#2D2EE2
secondary
#DCDC8E
accent
#F135F2
background
#F9F6FE
surface
#F2EBFD
border
#CCC6D5
text
#0E0717
muted
#7E7A85

Preview Lab

Preview with #2D2EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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