#2D2EB9#2D2EB9

#2D2EB9 is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.2% C 0.209 H 272.1°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#2D2EB9
RGBrgb(45, 46, 185)
HSLhsl(240, 61%, 45%)
HSVhsv(240, 76%, 73%)
CMYKcmyk(75.7%, 75.1%, 0%, 27.5%)
CIE-LABlab(29.45, 46.38, -72.24)
CIE-LCHlch(29.45, 85.85, 302.71°)
OKLaboklab(41.15% 0.0077 -0.2091)
OKLCHoklch(41.15% 0.209 272.1)
XYZxyz(10.8132, 6.0135, 46.4804)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2EB9 #B9B82D
analogous
#2D74B9 #2D2EB9 #722DB9
triadic
#2D2EB9 #B92D2E #2EB92D
tetradic
#2D2EB9 #B92D74 #B9B82D #2DB972
square
#2D2EB9 #B92D74 #B9B82D #2DB972
split-complementary
#2D2EB9 #B9722D #74B92D
monochromatic
#151657 #212288 #2D2EB9 #4F50D4 #8081E0

Accessibility & contrast

On white

9.53
#2D2EB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2D2EB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2EB9
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2EB9#FFFFFF#000000##FFFFFF
##2D2EB91.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d2eb9;
/* rgb */ color: rgb(45, 46, 185);
/* oklch */ color: oklch(41.2% 0.209 272.1);
Tailwind
colors: {
  custom: {
    50: '#7d69cf',
    500: '#2d2eb9',
    950: '#000000',
  },
}
SCSS
$custom: #2d2eb9;
$custom-light: #7d69cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2eb9",
  "rgb": {
    "r": 45,
    "g": 46,
    "b": 185
  },
  "hsl": {
    "h": 239.571,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.41153,
    "c": 0.20923,
    "h": 272.1
  },
  "luminance": 0.06015
}

Semantic roles & 50–950 ramp

primary
#2D2EB9
secondary
#C9C879
accent
#E344E4
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #2D2EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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