#2D2CB3#2D2CB3

#2D2CB3 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.2% C 0.204 H 272.7°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#2D2CB3
RGBrgb(45, 44, 179)
HSLhsl(240, 61%, 44%)
HSVhsv(240, 75%, 70%)
CMYKcmyk(74.9%, 75.4%, 0%, 29.8%)
CIE-LABlab(28.41, 45.52, -70.37)
CIE-LCHlch(28.41, 83.81, 302.90°)
OKLaboklab(40.23% 0.0097 -0.2037)
OKLCHoklch(40.23% 0.204 272.7)
XYZxyz(10.1168, 5.6129, 43.1893)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2CB3 #B2B32C
analogous
#2C6EB3 #2D2CB3 #702CB3
triadic
#2D2CB3 #B32D2C #2CB32D
tetradic
#2D2CB3 #B32C6E #B2B32C #2CB370
square
#2D2CB3 #B32C6E #B2B32C #2CB370
split-complementary
#2D2CB3 #B3702C #6EB32C
monochromatic
#141451 #212082 #2D2CB3 #4B4AD2 #7C7BDF

Accessibility & contrast

On white

9.89
#2D2CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2D2CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2CB3
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2CB3#FFFFFF#000000##FFFFFF
##2D2CB31.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B7
Deuteranopia (green-blind)
#003CB1
Tritanopia (blue-blind)
#00546E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2d2cb3;
/* rgb */ color: rgb(45, 44, 179);
/* oklch */ color: oklch(40.2% 0.204 272.7);
Tailwind
colors: {
  custom: {
    50: '#7c67cb',
    500: '#2d2cb3',
    950: '#000000',
  },
}
SCSS
$custom: #2d2cb3;
$custom-light: #7c67cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2cb3",
  "rgb": {
    "r": 45,
    "g": 44,
    "b": 179
  },
  "hsl": {
    "h": 240.444,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.40233,
    "c": 0.20389,
    "h": 272.7
  },
  "luminance": 0.05614
}

Semantic roles & 50–950 ramp

primary
#2D2CB3
secondary
#C6C774
accent
#E444E2
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2D2CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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