#2C2EB2#2C2EB2

#2C2EB2 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.4% C 0.201 H 272.2°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#2C2EB2
RGBrgb(44, 46, 178)
HSLhsl(239, 60%, 44%)
HSVhsv(239, 75%, 70%)
CMYKcmyk(75.3%, 74.2%, 0%, 30.2%)
CIE-LABlab(28.65, 43.97, -69.39)
CIE-LCHlch(28.65, 82.15, 302.36°)
OKLaboklab(40.35% 0.0078 -0.2008)
OKLCHoklch(40.35% 0.201 272.2)
XYZxyz(10.0489, 5.7028, 42.6820)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2EB2 #B2B02C
analogous
#2C71B2 #2C2EB2 #6D2CB2
triadic
#2C2EB2 #B22C2E #2EB22C
tetradic
#2C2EB2 #B22C71 #B2B02C #2CB26D
square
#2C2EB2 #B22C71 #B2B02C #2CB26D
split-complementary
#2C2EB2 #B26D2C #71B22C
monochromatic
#141550 #202181 #2C2EB2 #494BD2 #7A7CDE

Accessibility & contrast

On white

9.81
#2C2EB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2C2EB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2EB2
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2EB2#FFFFFF#000000##FFFFFF
##2C2EB21.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB6
Deuteranopia (green-blind)
#003DB0
Tritanopia (blue-blind)
#00546D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2c2eb2;
/* rgb */ color: rgb(44, 46, 178);
/* oklch */ color: oklch(40.4% 0.201 272.2);
Tailwind
colors: {
  custom: {
    50: '#7b68ca',
    500: '#2c2eb2',
    950: '#000000',
  },
}
SCSS
$custom: #2c2eb2;
$custom-light: #7b68ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2eb2",
  "rgb": {
    "r": 44,
    "g": 46,
    "b": 178
  },
  "hsl": {
    "h": 239.104,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.40353,
    "c": 0.20098,
    "h": 272.2
  },
  "luminance": 0.05704
}

Semantic roles & 50–950 ramp

primary
#2C2EB2
secondary
#C6C573
accent
#E144E4
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2C2EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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