#2C2DB4#2C2DB4

#2C2DB4 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.4% C 0.204 H 272.2°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#2C2DB4
RGBrgb(44, 45, 180)
HSLhsl(240, 61%, 44%)
HSVhsv(240, 76%, 71%)
CMYKcmyk(75.6%, 75%, 0%, 29.4%)
CIE-LABlab(28.66, 45.21, -70.57)
CIE-LCHlch(28.66, 83.80, 302.64°)
OKLaboklab(40.42% 0.0079 -0.2042)
OKLCHoklch(40.42% 0.204 272.2)
XYZxyz(10.2125, 5.7064, 43.7344)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2DB4 #B4B32C
analogous
#2C71B4 #2C2DB4 #6F2CB4
triadic
#2C2DB4 #B42C2D #2DB42C
tetradic
#2C2DB4 #B42C71 #B4B32C #2CB46F
square
#2C2DB4 #B42C71 #B4B32C #2CB46F
split-complementary
#2C2DB4 #B46F2C #71B42C
monochromatic
#141452 #202183 #2C2DB4 #4A4BD3 #7C7CDF

Accessibility & contrast

On white

9.81
#2C2DB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2C2DB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2DB4
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2DB4#FFFFFF#000000##FFFFFF
##2C2DB41.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB8
Deuteranopia (green-blind)
#003DB2
Tritanopia (blue-blind)
#00556E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2c2db4;
/* rgb */ color: rgb(44, 45, 180);
/* oklch */ color: oklch(40.4% 0.204 272.2);
Tailwind
colors: {
  custom: {
    50: '#7c68cc',
    500: '#2c2db4',
    950: '#000000',
  },
}
SCSS
$custom: #2c2db4;
$custom-light: #7c68cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2db4",
  "rgb": {
    "r": 44,
    "g": 45,
    "b": 180
  },
  "hsl": {
    "h": 239.559,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.40422,
    "c": 0.2044,
    "h": 272.2
  },
  "luminance": 0.05708
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C2DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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