#2D2B9E#2D2B9E

#2D2B9E is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.9% C 0.179 H 274.5°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#2D2B9E
RGBrgb(45, 43, 158)
HSLhsl(241, 57%, 39%)
HSVhsv(241, 73%, 62%)
CMYKcmyk(71.5%, 72.8%, 0%, 38%)
CIE-LABlab(26.02, 39.05, -61.66)
CIE-LCHlch(26.02, 72.99, 302.34°)
OKLaboklab(37.88% 0.014 -0.1783)
OKLCHoklch(37.88% 0.179 274.5)
XYZxyz(8.1156, 4.7535, 32.8309)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2B9E #9C9E2B
analogous
#2B639E #2D2B9E #662B9E
triadic
#2D2B9E #9E2D2B #2B9E2D
tetradic
#2D2B9E #9E2B63 #9C9E2B #2B9E66
square
#2D2B9E #9E2B63 #9C9E2B #2B9E66
split-complementary
#2D2B9E #9E662B #639E2B
monochromatic
#12113E #1F1E6E #2D2B9E #3F3CCA #6E6CD7

Accessibility & contrast

On white

10.76
#2D2B9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2D2B9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2B9E
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2B9E#FFFFFF#000000##FFFFFF
##2D2B9E1.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A1
Deuteranopia (green-blind)
#00389C
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2d2b9e;
/* rgb */ color: rgb(45, 43, 158);
/* oklch */ color: oklch(37.9% 0.179 274.5);
Tailwind
colors: {
  custom: {
    50: '#7766bc',
    500: '#2d2b9e',
    950: '#000000',
  },
}
SCSS
$custom: #2d2b9e;
$custom-light: #7766bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2b9e",
  "rgb": {
    "r": 45,
    "g": 43,
    "b": 158
  },
  "hsl": {
    "h": 241.043,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.37878,
    "c": 0.17883,
    "h": 274.5
  },
  "luminance": 0.04754
}

Semantic roles & 50–950 ramp

primary
#2D2B9E
secondary
#BCBE67
accent
#E047DE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2D2B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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