#2C2DB6#2C2DB6

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

Color values

HEX#2C2DB6
RGBrgb(44, 45, 182)
HSLhsl(240, 61%, 44%)
HSVhsv(240, 76%, 71%)
CMYKcmyk(75.8%, 75.3%, 0%, 28.6%)
CIE-LABlab(28.87, 45.87, -71.40)
CIE-LCHlch(28.87, 84.87, 302.72°)
OKLaboklab(40.64% 0.0075 -0.2067)
OKLCHoklch(40.64% 0.207 272.1)
XYZxyz(10.4177, 5.7885, 44.8152)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2DB6 #B6B52C
analogous
#2C72B6 #2C2DB6 #702CB6
triadic
#2C2DB6 #B62C2D #2DB62C
tetradic
#2C2DB6 #B62C72 #B6B52C #2CB670
square
#2C2DB6 #B62C72 #B6B52C #2CB670
split-complementary
#2C2DB6 #B6702C #72B62C
monochromatic
#141553 #202185 #2C2DB6 #4C4DD4 #7D7EE0

Accessibility & contrast

On white

9.73
#2C2DB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C2DB6
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2DB6#FFFFFF#000000##FFFFFF
##2C2DB61.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBA
Deuteranopia (green-blind)
#003DB4
Tritanopia (blue-blind)
#00556F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2c2db6;
/* rgb */ color: rgb(44, 45, 182);
/* oklch */ color: oklch(40.6% 0.207 272.1);
Tailwind
colors: {
  custom: {
    50: '#7c68cd',
    500: '#2c2db6',
    950: '#000000',
  },
}
SCSS
$custom: #2c2db6;
$custom-light: #7c68cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2db6",
  "rgb": {
    "r": 44,
    "g": 45,
    "b": 182
  },
  "hsl": {
    "h": 239.565,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.40636,
    "c": 0.20683,
    "h": 272.1
  },
  "luminance": 0.0579
}

Semantic roles & 50–950 ramp

primary
#2C2DB6
secondary
#C8C776
accent
#E344E4
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2C2DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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