#2C2DB7#2C2DB7

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

Color values

HEX#2C2DB7
RGBrgb(44, 45, 183)
HSLhsl(240, 61%, 45%)
HSVhsv(240, 76%, 72%)
CMYKcmyk(76%, 75.4%, 0%, 28.2%)
CIE-LABlab(28.98, 46.20, -71.82)
CIE-LCHlch(28.98, 85.40, 302.75°)
OKLaboklab(40.74% 0.0073 -0.2079)
OKLCHoklch(40.74% 0.208 272)
XYZxyz(10.5215, 5.8300, 45.3614)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2DB7 #B7B62C
analogous
#2C73B7 #2C2DB7 #702CB7
triadic
#2C2DB7 #B72C2D #2DB72C
tetradic
#2C2DB7 #B72C73 #B7B62C #2CB770
square
#2C2DB7 #B72C73 #B7B62C #2CB770
split-complementary
#2C2DB7 #B7702C #73B72C
monochromatic
#141554 #202186 #2C2DB7 #4C4DD4 #7E7EE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C2DB7#FFFFFF#000000##FFFFFF
##2C2DB71.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)
#004BBB
Deuteranopia (green-blind)
#003DB5
Tritanopia (blue-blind)
#005670
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2c2db7;
/* rgb */ color: rgb(44, 45, 183);
/* oklch */ color: oklch(40.7% 0.208 272.0);
Tailwind
colors: {
  custom: {
    50: '#7d68ce',
    500: '#2c2db7',
    950: '#000000',
  },
}
SCSS
$custom: #2c2db7;
$custom-light: #7d68ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2db7",
  "rgb": {
    "r": 44,
    "g": 45,
    "b": 183
  },
  "hsl": {
    "h": 239.568,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.40744,
    "c": 0.20803,
    "h": 272
  },
  "luminance": 0.05831
}

Semantic roles & 50–950 ramp

primary
#2C2DB7
secondary
#C8C876
accent
#E343E4
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2C2DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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