#2C2DE3#2C2DE3

#2C2DE3 is a mid, highly saturated blue. Relative luminance 0.080; OKLCH L 45.6% C 0.259 H 269.8°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#2C2DE3
RGBrgb(44, 45, 227)
HSLhsl(240, 77%, 53%)
HSVhsv(240, 81%, 89%)
CMYKcmyk(80.6%, 80.2%, 0%, 11%)
CIE-LABlab(33.89, 60.09, -89.31)
CIE-LCHlch(33.89, 107.64, 303.93°)
OKLaboklab(45.62% -0.0011 -0.2586)
OKLCHoklch(45.62% 0.259 269.8)
XYZxyz(15.8375, 7.9564, 73.3592)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2DE3 #E3E22C
analogous
#2C88E3 #2C2DE3 #862CE3
triadic
#2C2DE3 #E32C2D #2DE32C
tetradic
#2C2DE3 #E32C88 #E3E22C #2CE386
square
#2C2DE3 #E32C88 #E3E22C #2CE386
split-complementary
#2C2DE3 #E3862C #88E32C
monochromatic
#111283 #1919B9 #2C2DE3 #6263EA #9899F1

Accessibility & contrast

On white

8.10
#2C2DE3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2C2DE3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2DE3
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2DE3#FFFFFF#000000##FFFFFF
##2C2DE31.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c2de3;
/* rgb */ color: rgb(44, 45, 227);
/* oklch */ color: oklch(45.6% 0.259 269.8);
Tailwind
colors: {
  custom: {
    50: '#876aed',
    500: '#2c2de3',
    950: '#000000',
  },
}
SCSS
$custom: #2c2de3;
$custom-light: #876aed;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2de3",
  "rgb": {
    "r": 44,
    "g": 45,
    "b": 227
  },
  "hsl": {
    "h": 239.672,
    "s": 76.569,
    "l": 53.137
  },
  "oklch": {
    "l": 0.45618,
    "c": 0.25861,
    "h": 269.8
  },
  "luminance": 0.07958
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C2DE3

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

Preview Lab → · Contrast checker → · Palette generator →

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