#2C2EB8#2C2EB8

#2C2EB8 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 41.0% C 0.208 H 271.9°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#2C2EB8
RGBrgb(44, 46, 184)
HSLhsl(239, 61%, 45%)
HSVhsv(239, 76%, 72%)
CMYKcmyk(76.1%, 75%, 0%, 27.8%)
CIE-LABlab(29.28, 45.97, -71.91)
CIE-LCHlch(29.28, 85.35, 302.59°)
OKLaboklab(40.99% 0.0067 -0.2082)
OKLCHoklch(40.99% 0.208 271.9)
XYZxyz(10.6645, 5.9490, 45.9243)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2EB8 #B8B62C
analogous
#2C74B8 #2C2EB8 #702CB8
triadic
#2C2EB8 #B82C2E #2EB82C
tetradic
#2C2EB8 #B82C74 #B8B62C #2CB870
square
#2C2EB8 #B82C74 #B8B62C #2CB870
split-complementary
#2C2EB8 #B8702C #74B82C
monochromatic
#141555 #202287 #2C2EB8 #4D4FD4 #7E80E0

Accessibility & contrast

On white

9.59
#2C2EB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2C2EB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2EB8
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2EB8#FFFFFF#000000##FFFFFF
##2C2EB81.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBC
Deuteranopia (green-blind)
#003EB6
Tritanopia (blue-blind)
#005771
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2c2eb8;
/* rgb */ color: rgb(44, 46, 184);
/* oklch */ color: oklch(41.0% 0.208 271.9);
Tailwind
colors: {
  custom: {
    50: '#7d69cf',
    500: '#2c2eb8',
    950: '#000000',
  },
}
SCSS
$custom: #2c2eb8;
$custom-light: #7d69cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2eb8",
  "rgb": {
    "r": 44,
    "g": 46,
    "b": 184
  },
  "hsl": {
    "h": 239.143,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.40991,
    "c": 0.20828,
    "h": 271.9
  },
  "luminance": 0.0595
}

Semantic roles & 50–950 ramp

primary
#2C2EB8
secondary
#C9C877
accent
#E243E5
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2C2EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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