#2C2EE3#2C2EE3

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

Color values

HEX#2C2EE3
RGBrgb(44, 46, 227)
HSLhsl(239, 77%, 53%)
HSVhsv(239, 81%, 89%)
CMYKcmyk(80.6%, 79.7%, 0%, 11%)
CIE-LABlab(34.05, 59.62, -89.04)
CIE-LCHlch(34.05, 107.16, 303.80°)
OKLaboklab(45.73% -0.0013 -0.2579)
OKLCHoklch(45.73% 0.258 269.7)
XYZxyz(15.8761, 8.0336, 73.3721)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2EE3 #E3E12C
analogous
#2C8AE3 #2C2EE3 #852CE3
triadic
#2C2EE3 #E32C2E #2EE32C
tetradic
#2C2EE3 #E32C8A #E3E12C #2CE385
square
#2C2EE3 #E32C8A #E3E12C #2CE385
split-complementary
#2C2EE3 #E3852C #8AE32C
monochromatic
#111383 #191AB9 #2C2EE3 #6264EA #9899F1

Accessibility & contrast

On white

8.05
#2C2EE3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C2EE3
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2EE3#FFFFFF#000000##FFFFFF
##2C2EE31.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c2ee3;
/* rgb */ color: rgb(44, 46, 227);
/* oklch */ color: oklch(45.7% 0.258 269.7);
Tailwind
colors: {
  custom: {
    50: '#876bed',
    500: '#2c2ee3',
    950: '#000000',
  },
}
SCSS
$custom: #2c2ee3;
$custom-light: #876bed;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2ee3",
  "rgb": {
    "r": 44,
    "g": 46,
    "b": 227
  },
  "hsl": {
    "h": 239.344,
    "s": 76.569,
    "l": 53.137
  },
  "oklch": {
    "l": 0.4573,
    "c": 0.25785,
    "h": 269.7
  },
  "luminance": 0.08036
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C2EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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