#2C2CB8#2C2CB8

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

Color values

HEX#2C2CB8
RGBrgb(44, 44, 184)
HSLhsl(240, 61%, 45%)
HSVhsv(240, 76%, 72%)
CMYKcmyk(76.1%, 76.1%, 0%, 27.8%)
CIE-LABlab(28.89, 47.08, -72.56)
CIE-LCHlch(28.89, 86.49, 302.98°)
OKLaboklab(40.71% 0.0076 -0.21)
OKLCHoklch(40.71% 0.21 272.1)
XYZxyz(10.5882, 5.7964, 45.8989)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2CB8 #B8B82C
analogous
#2C72B8 #2C2CB8 #722CB8
triadic
#2C2CB8 #B82C2C #2CB82C
tetradic
#2C2CB8 #B82C72 #B8B82C #2CB872
square
#2C2CB8 #B82C72 #B8B82C #2CB872
split-complementary
#2C2CB8 #B8722C #72B82C
monochromatic
#141455 #202087 #2C2CB8 #4D4DD4 #7E7EE0

Accessibility & contrast

On white

9.72
#2C2CB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C2CB8
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2CB8#FFFFFF#000000##FFFFFF
##2C2CB81.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBC
Deuteranopia (green-blind)
#003DB6
Tritanopia (blue-blind)
#005670
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2c2cb8;
/* rgb */ color: rgb(44, 44, 184);
/* oklch */ color: oklch(40.7% 0.210 272.1);
Tailwind
colors: {
  custom: {
    50: '#7d67cf',
    500: '#2c2cb8',
    950: '#000000',
  },
}
SCSS
$custom: #2c2cb8;
$custom-light: #7d67cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2cb8",
  "rgb": {
    "r": 44,
    "g": 44,
    "b": 184
  },
  "hsl": {
    "h": 240,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.40714,
    "c": 0.21017,
    "h": 272.1
  },
  "luminance": 0.05798
}

Semantic roles & 50–950 ramp

primary
#2C2CB8
secondary
#C9C977
accent
#E543E5
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #2C2CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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