#2C2EB0#2C2EB0

#2C2EB0 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.1% C 0.199 H 272.3°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#2C2EB0
RGBrgb(44, 46, 176)
HSLhsl(239, 60%, 43%)
HSVhsv(239, 75%, 69%)
CMYKcmyk(75%, 73.9%, 0%, 31%)
CIE-LABlab(28.44, 43.30, -68.54)
CIE-LCHlch(28.44, 81.07, 302.28°)
OKLaboklab(40.14% 0.0081 -0.1984)
OKLCHoklch(40.14% 0.199 272.3)
XYZxyz(9.8495, 5.6230, 41.6321)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2EB0 #B0AE2C
analogous
#2C70B0 #2C2EB0 #6C2CB0
triadic
#2C2EB0 #B02C2E #2EB02C
tetradic
#2C2EB0 #B02C70 #B0AE2C #2CB06C
square
#2C2EB0 #B02C70 #B0AE2C #2CB06C
split-complementary
#2C2EB0 #B06C2C #70B02C
monochromatic
#14144E #20217F #2C2EB0 #484AD1 #797ADD

Accessibility & contrast

On white

9.88
#2C2EB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2C2EB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2EB0
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2EB0#FFFFFF#000000##FFFFFF
##2C2EB01.009.882.129.88
#FFFFFF9.881.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B4
Deuteranopia (green-blind)
#003DAE
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2c2eb0;
/* rgb */ color: rgb(44, 46, 176);
/* oklch */ color: oklch(40.1% 0.199 272.3);
Tailwind
colors: {
  custom: {
    50: '#7b68c9',
    500: '#2c2eb0',
    950: '#000000',
  },
}
SCSS
$custom: #2c2eb0;
$custom-light: #7b68c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2eb0",
  "rgb": {
    "r": 44,
    "g": 46,
    "b": 176
  },
  "hsl": {
    "h": 239.091,
    "s": 60,
    "l": 43.137
  },
  "oklch": {
    "l": 0.40142,
    "c": 0.19853,
    "h": 272.3
  },
  "luminance": 0.05624
}

Semantic roles & 50–950 ramp

primary
#2C2EB0
secondary
#C6C472
accent
#E145E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2C2EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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