#2D2B96#2D2B96

#2D2B96 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.1% C 0.169 H 275.2°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#2D2B96
RGBrgb(45, 43, 150)
HSLhsl(241, 55%, 38%)
HSVhsv(241, 71%, 59%)
CMYKcmyk(70%, 71.3%, 0%, 41.2%)
CIE-LABlab(25.22, 36.30, -58.08)
CIE-LCHlch(25.22, 68.50, 302.00°)
OKLaboklab(37.06% 0.0153 -0.1678)
OKLCHoklch(37.06% 0.169 275.2)
XYZxyz(7.4493, 4.4870, 29.3217)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2B96 #94962B
analogous
#2B5F96 #2D2B96 #622B96
triadic
#2D2B96 #962D2B #2B962D
tetradic
#2D2B96 #962B5F #94962B #2B9662
square
#2D2B96 #962B5F #94962B #2B9662
split-complementary
#2D2B96 #96622B #5F962B
monochromatic
#101037 #1F1D66 #2D2B96 #3B39C6 #6A68D4

Accessibility & contrast

On white

11.07
#2D2B96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2B96
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2B96#FFFFFF#000000##FFFFFF
##2D2B961.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004199
Deuteranopia (green-blind)
#003794
Tritanopia (blue-blind)
#00485D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2d2b96;
/* rgb */ color: rgb(45, 43, 150);
/* oklch */ color: oklch(37.1% 0.169 275.2);
Tailwind
colors: {
  custom: {
    50: '#7565b6',
    500: '#2d2b96',
    950: '#000000',
  },
}
SCSS
$custom: #2d2b96;
$custom-light: #7565b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2b96",
  "rgb": {
    "r": 45,
    "g": 43,
    "b": 150
  },
  "hsl": {
    "h": 241.121,
    "s": 55.44,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37063,
    "c": 0.16853,
    "h": 275.2
  },
  "luminance": 0.04488
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D2B96

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

Preview Lab → · Contrast checker → · Palette generator →

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