#2C2BB2#2C2BB2

#2C2BB2 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 39.9% C 0.204 H 272.6°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#2C2BB2
RGBrgb(44, 43, 178)
HSLhsl(240, 61%, 43%)
HSVhsv(240, 76%, 70%)
CMYKcmyk(75.3%, 75.8%, 0%, 30.2%)
CIE-LABlab(28.05, 45.66, -70.38)
CIE-LCHlch(28.05, 83.89, 302.97°)
OKLaboklab(39.93% 0.0091 -0.2037)
OKLCHoklch(39.93% 0.204 272.6)
XYZxyz(9.9358, 5.4765, 42.6443)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2BB2 #B1B22B
analogous
#2B6EB2 #2C2BB2 #6F2BB2
triadic
#2C2BB2 #B22C2B #2BB22C
tetradic
#2C2BB2 #B22B6E #B1B22B #2BB26F
square
#2C2BB2 #B22B6E #B1B22B #2BB26F
split-complementary
#2C2BB2 #B26F2B #6EB22B
monochromatic
#14134F #201F81 #2C2BB2 #4948D3 #7A79DF

Accessibility & contrast

On white

10.02
#2C2BB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2C2BB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2BB2
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2BB2#FFFFFF#000000##FFFFFF
##2C2BB21.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B6
Deuteranopia (green-blind)
#003BB0
Tritanopia (blue-blind)
#00536D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2c2bb2;
/* rgb */ color: rgb(44, 43, 178);
/* oklch */ color: oklch(39.9% 0.204 272.6);
Tailwind
colors: {
  custom: {
    50: '#7c66ca',
    500: '#2c2bb2',
    950: '#000000',
  },
}
SCSS
$custom: #2c2bb2;
$custom-light: #7c66ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2bb2",
  "rgb": {
    "r": 44,
    "g": 43,
    "b": 178
  },
  "hsl": {
    "h": 240.444,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.39929,
    "c": 0.20389,
    "h": 272.6
  },
  "luminance": 0.05478
}

Semantic roles & 50–950 ramp

primary
#2C2BB2
secondary
#C6C772
accent
#E444E3
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2C2BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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