#2C2EB4#2C2EB4

#2C2EB4 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.6% C 0.203 H 272.1°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#2C2EB4
RGBrgb(44, 46, 180)
HSLhsl(239, 61%, 44%)
HSVhsv(239, 76%, 71%)
CMYKcmyk(75.6%, 74.4%, 0%, 29.4%)
CIE-LABlab(28.86, 44.64, -70.23)
CIE-LCHlch(28.86, 83.22, 302.44°)
OKLaboklab(40.57% 0.0074 -0.2033)
OKLCHoklch(40.57% 0.203 272.1)
XYZxyz(10.2511, 5.7837, 43.7473)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2EB4 #B4B22C
analogous
#2C72B4 #2C2EB4 #6E2CB4
triadic
#2C2EB4 #B42C2E #2EB42C
tetradic
#2C2EB4 #B42C72 #B4B22C #2CB46E
square
#2C2EB4 #B42C72 #B4B22C #2CB46E
split-complementary
#2C2EB4 #B46E2C #72B42C
monochromatic
#141552 #202183 #2C2EB4 #4A4CD3 #7C7DDF

Accessibility & contrast

On white

9.74
#2C2EB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2C2EB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2EB4
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2EB4#FFFFFF#000000##FFFFFF
##2C2EB41.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB8
Deuteranopia (green-blind)
#003DB2
Tritanopia (blue-blind)
#00556F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2c2eb4;
/* rgb */ color: rgb(44, 46, 180);
/* oklch */ color: oklch(40.6% 0.203 272.1);
Tailwind
colors: {
  custom: {
    50: '#7c68cc',
    500: '#2c2eb4',
    950: '#000000',
  },
}
SCSS
$custom: #2c2eb4;
$custom-light: #7c68cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2eb4",
  "rgb": {
    "r": 44,
    "g": 46,
    "b": 180
  },
  "hsl": {
    "h": 239.118,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.40565,
    "c": 0.20343,
    "h": 272.1
  },
  "luminance": 0.05785
}

Semantic roles & 50–950 ramp

primary
#2C2EB4
secondary
#C7C675
accent
#E144E4
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2C2EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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