#2D2CB4#2D2CB4

#2D2CB4 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.3% C 0.205 H 272.6°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#2D2CB4
RGBrgb(45, 44, 180)
HSLhsl(240, 61%, 44%)
HSVhsv(240, 76%, 71%)
CMYKcmyk(75%, 75.6%, 0%, 29.4%)
CIE-LABlab(28.52, 45.85, -70.79)
CIE-LCHlch(28.52, 84.34, 302.93°)
OKLaboklab(40.34% 0.0095 -0.2049)
OKLCHoklch(40.34% 0.205 272.6)
XYZxyz(10.2183, 5.6535, 43.7239)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2CB4 #B3B42C
analogous
#2C6FB4 #2D2CB4 #712CB4
triadic
#2D2CB4 #B42D2C #2CB42D
tetradic
#2D2CB4 #B42C6F #B3B42C #2CB471
square
#2D2CB4 #B42C6F #B3B42C #2CB471
split-complementary
#2D2CB4 #B4712C #6FB42C
monochromatic
#141452 #212083 #2D2CB4 #4B4AD3 #7C7CDF

Accessibility & contrast

On white

9.85
#2D2CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2D2CB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2CB4
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2CB4#FFFFFF#000000##FFFFFF
##2D2CB41.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d2cb4;
/* rgb */ color: rgb(45, 44, 180);
/* oklch */ color: oklch(40.3% 0.205 272.6);
Tailwind
colors: {
  custom: {
    50: '#7c67cc',
    500: '#2d2cb4',
    950: '#000000',
  },
}
SCSS
$custom: #2d2cb4;
$custom-light: #7c67cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2cb4",
  "rgb": {
    "r": 45,
    "g": 44,
    "b": 180
  },
  "hsl": {
    "h": 240.441,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.4034,
    "c": 0.2051,
    "h": 272.6
  },
  "luminance": 0.05655
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D2CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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