#2D2DC9#2D2DC9

#2D2DC9 is a dark, highly saturated blue. Relative luminance 0.067; OKLCH L 42.8% C 0.229 H 271.3°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#2D2DC9
RGBrgb(45, 45, 201)
HSLhsl(240, 63%, 48%)
HSVhsv(240, 78%, 79%)
CMYKcmyk(77.6%, 77.6%, 0%, 21.2%)
CIE-LABlab(31.00, 52.10, -79.09)
CIE-LCHlch(31.00, 94.70, 303.38°)
OKLaboklab(42.76% 0.005 -0.229)
OKLCHoklch(42.76% 0.229 271.3)
XYZxyz(12.5596, 6.6503, 55.8687)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2DC9 #C9C92D
analogous
#2D7BC9 #2D2DC9 #7B2DC9
triadic
#2D2DC9 #C92D2D #2DC92D
tetradic
#2D2DC9 #C92D7B #C9C92D #2DC97B
square
#2D2DC9 #C92D7B #C9C92D #2DC97B
split-complementary
#2D2DC9 #C97B2D #7BC92D
monochromatic
#171765 #222297 #2D2DC9 #5959DA #8B8BE5

Accessibility & contrast

On white

9.01
#2D2DC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2D2DC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2DC9
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2DC9#FFFFFF#000000##FFFFFF
##2D2DC91.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051CD
Deuteranopia (green-blind)
#0041C6
Tritanopia (blue-blind)
#005D7A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2d2dc9;
/* rgb */ color: rgb(45, 45, 201);
/* oklch */ color: oklch(42.8% 0.229 271.3);
Tailwind
colors: {
  custom: {
    50: '#8169db',
    500: '#2d2dc9',
    950: '#000000',
  },
}
SCSS
$custom: #2d2dc9;
$custom-light: #8169db;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2dc9",
  "rgb": {
    "r": 45,
    "g": 45,
    "b": 201
  },
  "hsl": {
    "h": 240,
    "s": 63.415,
    "l": 48.235
  },
  "oklch": {
    "l": 0.42757,
    "c": 0.22903,
    "h": 271.3
  },
  "luminance": 0.06652
}

Semantic roles & 50–950 ramp

primary
#2D2DC9
secondary
#CFCF83
accent
#E641E6
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #2D2DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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