#2C2BB9#2C2BB9

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

Color values

HEX#2C2BB9
RGBrgb(44, 43, 185)
HSLhsl(240, 62%, 45%)
HSVhsv(240, 77%, 73%)
CMYKcmyk(76.2%, 76.8%, 0%, 27.5%)
CIE-LABlab(28.81, 47.95, -73.29)
CIE-LCHlch(28.81, 87.58, 303.19°)
OKLaboklab(40.69% 0.0077 -0.2121)
OKLCHoklch(40.69% 0.212 272.1)
XYZxyz(10.6566, 5.7649, 46.4406)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2BB9 #B8B92B
analogous
#2B71B9 #2C2BB9 #732BB9
triadic
#2C2BB9 #B92C2B #2BB92C
tetradic
#2C2BB9 #B92B71 #B8B92B #2BB973
square
#2C2BB9 #B92B71 #B8B92B #2BB973
split-complementary
#2C2BB9 #B9732B #71B92B
monochromatic
#141456 #201F87 #2C2BB9 #4D4CD5 #7E7EE1

Accessibility & contrast

On white

9.75
#2C2BB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2C2BB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2BB9
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2BB9#FFFFFF#000000##FFFFFF
##2C2BB91.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.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: #2c2bb9;
/* rgb */ color: rgb(44, 43, 185);
/* oklch */ color: oklch(40.7% 0.212 272.1);
Tailwind
colors: {
  custom: {
    50: '#7d67cf',
    500: '#2c2bb9',
    950: '#000000',
  },
}
SCSS
$custom: #2c2bb9;
$custom-light: #7d67cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2bb9",
  "rgb": {
    "r": 44,
    "g": 43,
    "b": 185
  },
  "hsl": {
    "h": 240.423,
    "s": 62.281,
    "l": 44.706
  },
  "oklch": {
    "l": 0.40689,
    "c": 0.21228,
    "h": 272.1
  },
  "luminance": 0.05766
}

Semantic roles & 50–950 ramp

primary
#2C2BB9
secondary
#C9C976
accent
#E542E4
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #2C2BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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