#2D2EE3#2D2EE3

#2D2EE3 is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.8% C 0.258 H 269.9°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#2D2EE3
RGBrgb(45, 46, 227)
HSLhsl(240, 76%, 53%)
HSVhsv(240, 80%, 89%)
CMYKcmyk(80.2%, 79.7%, 0%, 11%)
CIE-LABlab(34.10, 59.67, -88.97)
CIE-LCHlch(34.10, 107.12, 303.85°)
OKLaboklab(45.78% -0.0003 -0.2576)
OKLCHoklch(45.78% 0.258 269.9)
XYZxyz(15.9196, 8.0561, 73.3741)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2EE3 #E3E22D
analogous
#2D89E3 #2D2EE3 #872DE3
triadic
#2D2EE3 #E32D2E #2EE32D
tetradic
#2D2EE3 #E32D89 #E3E22D #2DE387
square
#2D2EE3 #E32D89 #E3E22D #2DE387
split-complementary
#2D2EE3 #E3872D #89E32D
monochromatic
#121284 #191ABA #2D2EE3 #6364EA #9999F1

Accessibility & contrast

On white

8.04
#2D2EE3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2D2EE3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2EE3
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2EE3#FFFFFF#000000##FFFFFF
##2D2EE31.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059E8
Deuteranopia (green-blind)
#0047E0
Tritanopia (blue-blind)
#00678A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2d2ee3;
/* rgb */ color: rgb(45, 46, 227);
/* oklch */ color: oklch(45.8% 0.258 269.9);
Tailwind
colors: {
  custom: {
    50: '#876bed',
    500: '#2d2ee3',
    950: '#000000',
  },
}
SCSS
$custom: #2d2ee3;
$custom-light: #876bed;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2ee3",
  "rgb": {
    "r": 45,
    "g": 46,
    "b": 227
  },
  "hsl": {
    "h": 239.67,
    "s": 76.471,
    "l": 53.333
  },
  "oklch": {
    "l": 0.45776,
    "c": 0.25761,
    "h": 269.9
  },
  "luminance": 0.08058
}

Semantic roles & 50–950 ramp

primary
#2D2EE3
secondary
#DDDD8F
accent
#F235F3
background
#F9F6FE
surface
#F2EBFD
border
#CCC6D5
text
#0E0717
muted
#7E7A85

Preview Lab

Preview with #2D2EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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