#2D2B80#2D2B80

#2D2B80 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.9% C 0.139 H 277.5°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#2D2B80
RGBrgb(45, 43, 128)
HSLhsl(241, 50%, 34%)
HSVhsv(241, 66%, 50%)
CMYKcmyk(64.8%, 66.4%, 0%, 49.8%)
CIE-LABlab(23.15, 28.57, -47.79)
CIE-LCHlch(23.15, 55.68, 300.88°)
OKLaboklab(34.93% 0.018 -0.1377)
OKLCHoklch(34.93% 0.139 277.5)
XYZxyz(5.8411, 3.8437, 20.8520)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2B80 #7E802B
analogous
#2B5380 #2D2B80 #572B80
triadic
#2D2B80 #802D2B #2B802D
tetradic
#2D2B80 #802B53 #7E802B #2B8057
square
#2D2B80 #802B53 #7E802B #2B8057
split-complementary
#2D2B80 #80572B #53802B
monochromatic
#0D0C24 #1D1C52 #2D2B80 #3D3AAE #5F5DC9

Accessibility & contrast

On white

11.87
#2D2B80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2D2B80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2B80
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2B80#FFFFFF#000000##FFFFFF
##2D2B801.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B83
Deuteranopia (green-blind)
#00347E
Tritanopia (blue-blind)
#004151
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2d2b80;
/* rgb */ color: rgb(45, 43, 128);
/* oklch */ color: oklch(34.9% 0.139 277.5);
Tailwind
colors: {
  custom: {
    50: '#7064a6',
    500: '#2d2b80',
    950: '#000000',
  },
}
SCSS
$custom: #2d2b80;
$custom-light: #7064a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2b80",
  "rgb": {
    "r": 45,
    "g": 43,
    "b": 128
  },
  "hsl": {
    "h": 241.412,
    "s": 49.708,
    "l": 33.529
  },
  "oklch": {
    "l": 0.34929,
    "c": 0.13886,
    "h": 277.5
  },
  "luminance": 0.03844
}

Semantic roles & 50–950 ramp

primary
#2D2B80
secondary
#ACAE58
accent
#D94FD6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08050F
muted
#7B7A7F

Preview Lab

Preview with #2D2B80

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

Preview Lab → · Contrast checker → · Palette generator →

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