#2D2DB9#2D2DB9

#2D2DB9 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 41.0% C 0.210 H 272.2°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#2D2DB9
RGBrgb(45, 45, 185)
HSLhsl(240, 61%, 45%)
HSVhsv(240, 76%, 73%)
CMYKcmyk(75.7%, 75.7%, 0%, 27.5%)
CIE-LABlab(29.25, 46.94, -72.56)
CIE-LCHlch(29.25, 86.42, 302.90°)
OKLaboklab(41.02% 0.0081 -0.21)
OKLCHoklch(41.02% 0.21 272.2)
XYZxyz(10.7746, 5.9363, 46.4675)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2DB9 #B9B92D
analogous
#2D73B9 #2D2DB9 #732DB9
triadic
#2D2DB9 #B92D2D #2DB92D
tetradic
#2D2DB9 #B92D73 #B9B92D #2DB973
square
#2D2DB9 #B92D73 #B9B92D #2DB973
split-complementary
#2D2DB9 #B9732D #73B92D
monochromatic
#151557 #212188 #2D2DB9 #4F4FD4 #8080E0

Accessibility & contrast

On white

9.60
#2D2DB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2D2DB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2DB9
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2DB9#FFFFFF#000000##FFFFFF
##2D2DB91.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBD
Deuteranopia (green-blind)
#003EB7
Tritanopia (blue-blind)
#005671
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2d2db9;
/* rgb */ color: rgb(45, 45, 185);
/* oklch */ color: oklch(41.0% 0.210 272.2);
Tailwind
colors: {
  custom: {
    50: '#7d68cf',
    500: '#2d2db9',
    950: '#000000',
  },
}
SCSS
$custom: #2d2db9;
$custom-light: #7d68cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2db9",
  "rgb": {
    "r": 45,
    "g": 45,
    "b": 185
  },
  "hsl": {
    "h": 240,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.41015,
    "c": 0.21018,
    "h": 272.2
  },
  "luminance": 0.05937
}

Semantic roles & 50–950 ramp

primary
#2D2DB9
secondary
#C9C979
accent
#E444E4
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #2D2DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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