#2D2DB4#2D2DB4

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

Color values

HEX#2D2DB4
RGBrgb(45, 45, 180)
HSLhsl(240, 60%, 44%)
HSVhsv(240, 75%, 71%)
CMYKcmyk(75%, 75%, 0%, 29.4%)
CIE-LABlab(28.72, 45.29, -70.47)
CIE-LCHlch(28.72, 83.77, 302.73°)
OKLaboklab(40.48% 0.009 -0.2039)
OKLCHoklch(40.48% 0.204 272.5)
XYZxyz(10.2560, 5.7289, 43.7364)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2DB4 #B4B42D
analogous
#2D71B4 #2D2DB4 #712DB4
triadic
#2D2DB4 #B42D2D #2DB42D
tetradic
#2D2DB4 #B42D71 #B4B42D #2DB471
square
#2D2DB4 #B42D71 #B4B42D #2DB471
split-complementary
#2D2DB4 #B4712D #71B42D
monochromatic
#151552 #212183 #2D2DB4 #4C4CD2 #7D7DDE

Accessibility & contrast

On white

9.79
#2D2DB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2D2DB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2DB4
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2DB4#FFFFFF#000000##FFFFFF
##2D2DB41.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d2db4;
/* rgb */ color: rgb(45, 45, 180);
/* oklch */ color: oklch(40.5% 0.204 272.5);
Tailwind
colors: {
  custom: {
    50: '#7c68cc',
    500: '#2d2db4',
    950: '#000000',
  },
}
SCSS
$custom: #2d2db4;
$custom-light: #7c68cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2db4",
  "rgb": {
    "r": 45,
    "g": 45,
    "b": 180
  },
  "hsl": {
    "h": 240,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.40479,
    "c": 0.20414,
    "h": 272.5
  },
  "luminance": 0.0573
}

Semantic roles & 50–950 ramp

primary
#2D2DB4
secondary
#C7C776
accent
#E345E3
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2D2DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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