#2C2CB9#2C2CB9

#2C2CB9 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.8% C 0.211 H 272.0°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#2C2CB9
RGBrgb(44, 44, 185)
HSLhsl(240, 62%, 45%)
HSVhsv(240, 76%, 73%)
CMYKcmyk(76.2%, 76.2%, 0%, 27.5%)
CIE-LABlab(29.00, 47.41, -72.97)
CIE-LCHlch(29.00, 87.02, 303.01°)
OKLaboklab(40.82% 0.0074 -0.2112)
OKLCHoklch(40.82% 0.211 272)
XYZxyz(10.6934, 5.8385, 46.4529)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2CB9 #B9B92C
analogous
#2C73B9 #2C2CB9 #732CB9
triadic
#2C2CB9 #B92C2C #2CB92C
tetradic
#2C2CB9 #B92C73 #B9B92C #2CB973
square
#2C2CB9 #B92C73 #B9B92C #2CB973
split-complementary
#2C2CB9 #B9732C #73B92C
monochromatic
#141456 #202088 #2C2CB9 #4D4DD5 #7F7FE1

Accessibility & contrast

On white

9.69
#2C2CB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2C2CB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2CB9
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2CB9#FFFFFF#000000##FFFFFF
##2C2CB91.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBD
Deuteranopia (green-blind)
#003DB7
Tritanopia (blue-blind)
#005671
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2c2cb9;
/* rgb */ color: rgb(44, 44, 185);
/* oklch */ color: oklch(40.8% 0.211 272.0);
Tailwind
colors: {
  custom: {
    50: '#7d67cf',
    500: '#2c2cb9',
    950: '#000000',
  },
}
SCSS
$custom: #2c2cb9;
$custom-light: #7d67cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2cb9",
  "rgb": {
    "r": 44,
    "g": 44,
    "b": 185
  },
  "hsl": {
    "h": 240,
    "s": 61.572,
    "l": 44.902
  },
  "oklch": {
    "l": 0.40823,
    "c": 0.21137,
    "h": 272
  },
  "luminance": 0.0584
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C2CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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