#2D2AB9#2D2AB9

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

Color values

HEX#2D2AB9
RGBrgb(45, 42, 185)
HSLhsl(241, 63%, 45%)
HSVhsv(241, 77%, 73%)
CMYKcmyk(75.7%, 77.3%, 0%, 27.5%)
CIE-LABlab(28.68, 48.56, -73.50)
CIE-LCHlch(28.68, 88.09, 303.45°)
OKLaboklab(40.61% 0.0093 -0.2127)
OKLCHoklch(40.61% 0.213 272.5)
XYZxyz(10.6642, 5.7155, 46.4307)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2AB9 #B6B92A
analogous
#2A6EB9 #2D2AB9 #752AB9
triadic
#2D2AB9 #B92D2A #2AB92D
tetradic
#2D2AB9 #B92A6E #B6B92A #2AB975
square
#2D2AB9 #B92A6E #B6B92A #2AB975
split-complementary
#2D2AB9 #B9752A #6EB92A
monochromatic
#151355 #211F87 #2D2AB9 #4D4AD6 #7E7CE1

Accessibility & contrast

On white

9.80
#2D2AB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2D2AB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2AB9
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2AB9#FFFFFF#000000##FFFFFF
##2D2AB91.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ABD
Deuteranopia (green-blind)
#003DB7
Tritanopia (blue-blind)
#005570
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2d2ab9;
/* rgb */ color: rgb(45, 42, 185);
/* oklch */ color: oklch(40.6% 0.213 272.5);
Tailwind
colors: {
  custom: {
    50: '#7e66cf',
    500: '#2d2ab9',
    950: '#000000',
  },
}
SCSS
$custom: #2d2ab9;
$custom-light: #7e66cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2ab9",
  "rgb": {
    "r": 45,
    "g": 42,
    "b": 185
  },
  "hsl": {
    "h": 241.259,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.40614,
    "c": 0.21292,
    "h": 272.5
  },
  "luminance": 0.05717
}

Semantic roles & 50–950 ramp

primary
#2D2AB9
secondary
#C8CA75
accent
#E642E3
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #2D2AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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