#2D2DB8#2D2DB8

#2D2DB8 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 40.9% C 0.209 H 272.3°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#2D2DB8
RGBrgb(45, 45, 184)
HSLhsl(240, 61%, 45%)
HSVhsv(240, 76%, 72%)
CMYKcmyk(75.5%, 75.5%, 0%, 27.8%)
CIE-LABlab(29.14, 46.61, -72.14)
CIE-LCHlch(29.14, 85.89, 302.87°)
OKLaboklab(40.91% 0.0083 -0.2088)
OKLCHoklch(40.91% 0.209 272.3)
XYZxyz(10.6694, 5.8942, 45.9135)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2DB8 #B8B82D
analogous
#2D73B8 #2D2DB8 #732DB8
triadic
#2D2DB8 #B82D2D #2DB82D
tetradic
#2D2DB8 #B82D73 #B8B82D #2DB873
square
#2D2DB8 #B82D73 #B8B82D #2DB873
split-complementary
#2D2DB8 #B8732D #73B82D
monochromatic
#151556 #212187 #2D2DB8 #4E4ED4 #8080E0

Accessibility & contrast

On white

9.64
#2D2DB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2D2DB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2DB8
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2DB8#FFFFFF#000000##FFFFFF
##2D2DB81.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d2db8;
/* rgb */ color: rgb(45, 45, 184);
/* oklch */ color: oklch(40.9% 0.209 272.3);
Tailwind
colors: {
  custom: {
    50: '#7d68cf',
    500: '#2d2db8',
    950: '#000000',
  },
}
SCSS
$custom: #2d2db8;
$custom-light: #7d68cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2db8",
  "rgb": {
    "r": 45,
    "g": 45,
    "b": 184
  },
  "hsl": {
    "h": 240,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.40907,
    "c": 0.20897,
    "h": 272.3
  },
  "luminance": 0.05895
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D2DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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