#2D2B95#2D2B95

#2D2B95 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.0% C 0.167 H 275.3°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#2D2B95
RGBrgb(45, 43, 149)
HSLhsl(241, 55%, 38%)
HSVhsv(241, 71%, 58%)
CMYKcmyk(69.8%, 71.1%, 0%, 41.6%)
CIE-LABlab(25.12, 35.96, -57.63)
CIE-LCHlch(25.12, 67.93, 301.96°)
OKLaboklab(36.96% 0.0154 -0.1665)
OKLCHoklch(36.96% 0.167 275.3)
XYZxyz(7.3691, 4.4549, 28.8995)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2B95 #93952B
analogous
#2B5E95 #2D2B95 #622B95
triadic
#2D2B95 #952D2B #2B952D
tetradic
#2D2B95 #952B5E #93952B #2B9562
square
#2D2B95 #952B5E #93952B #2B9562
split-complementary
#2D2B95 #95622B #5E952B
monochromatic
#101036 #1F1D66 #2D2B95 #3B39C4 #6967D3

Accessibility & contrast

On white

11.10
#2D2B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2D2B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2B95
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2B95#FFFFFF#000000##FFFFFF
##2D2B951.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004098
Deuteranopia (green-blind)
#003793
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2d2b95;
/* rgb */ color: rgb(45, 43, 149);
/* oklch */ color: oklch(37.0% 0.167 275.3);
Tailwind
colors: {
  custom: {
    50: '#7565b5',
    500: '#2d2b95',
    950: '#000000',
  },
}
SCSS
$custom: #2d2b95;
$custom-light: #7565b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2b95",
  "rgb": {
    "r": 45,
    "g": 43,
    "b": 149
  },
  "hsl": {
    "h": 241.132,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.36963,
    "c": 0.16722,
    "h": 275.3
  },
  "luminance": 0.04456
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D2B95

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

Preview Lab → · Contrast checker → · Palette generator →

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