#2D2B97#2D2B97

#2D2B97 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.2% C 0.170 H 275.1°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#2D2B97
RGBrgb(45, 43, 151)
HSLhsl(241, 56%, 38%)
HSVhsv(241, 72%, 59%)
CMYKcmyk(70.2%, 71.5%, 0%, 40.8%)
CIE-LABlab(25.32, 36.65, -58.54)
CIE-LCHlch(25.32, 69.06, 302.05°)
OKLaboklab(37.16% 0.0151 -0.1692)
OKLCHoklch(37.16% 0.17 275.1)
XYZxyz(7.5301, 4.5193, 29.7476)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2B97 #95972B
analogous
#2B5F97 #2D2B97 #632B97
triadic
#2D2B97 #972D2B #2B972D
tetradic
#2D2B97 #972B5F #95972B #2B9763
square
#2D2B97 #972B5F #95972B #2B9763
split-complementary
#2D2B97 #97632B #5F972B
monochromatic
#111038 #1F1D67 #2D2B97 #3B39C7 #6A68D4

Accessibility & contrast

On white

11.03
#2D2B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2D2B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2B97
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2B97#FFFFFF#000000##FFFFFF
##2D2B971.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419A
Deuteranopia (green-blind)
#003795
Tritanopia (blue-blind)
#00495E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2d2b97;
/* rgb */ color: rgb(45, 43, 151);
/* oklch */ color: oklch(37.2% 0.170 275.1);
Tailwind
colors: {
  custom: {
    50: '#7665b7',
    500: '#2d2b97',
    950: '#000000',
  },
}
SCSS
$custom: #2d2b97;
$custom-light: #7665b7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2b97",
  "rgb": {
    "r": 45,
    "g": 43,
    "b": 151
  },
  "hsl": {
    "h": 241.111,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37164,
    "c": 0.16983,
    "h": 275.1
  },
  "luminance": 0.0452
}

Semantic roles & 50–950 ramp

primary
#2D2B97
secondary
#B9BB63
accent
#DF49DC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #2D2B97

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

Preview Lab → · Contrast checker → · Palette generator →

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