#2D2B82#2D2B82

#2D2B82 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.1% C 0.142 H 277.2°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#2D2B82
RGBrgb(45, 43, 130)
HSLhsl(241, 50%, 34%)
HSVhsv(241, 67%, 51%)
CMYKcmyk(65.4%, 66.9%, 0%, 49%)
CIE-LABlab(23.33, 29.28, -48.75)
CIE-LCHlch(23.33, 56.87, 300.99°)
OKLaboklab(35.12% 0.0178 -0.1405)
OKLCHoklch(35.12% 0.142 277.2)
XYZxyz(5.9740, 3.8969, 21.5521)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2B82 #80822B
analogous
#2B5582 #2D2B82 #592B82
triadic
#2D2B82 #822D2B #2B822D
tetradic
#2D2B82 #822B55 #80822B #2B8259
square
#2D2B82 #822B55 #80822B #2B8259
split-complementary
#2D2B82 #82592B #55822B
monochromatic
#0D0D26 #1D1C54 #2D2B82 #3D3AB0 #605ECA

Accessibility & contrast

On white

11.80
#2D2B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2D2B82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2B82
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2B82#FFFFFF#000000##FFFFFF
##2D2B821.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B85
Deuteranopia (green-blind)
#003480
Tritanopia (blue-blind)
#004152
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2d2b82;
/* rgb */ color: rgb(45, 43, 130);
/* oklch */ color: oklch(35.1% 0.142 277.2);
Tailwind
colors: {
  custom: {
    50: '#7165a7',
    500: '#2d2b82',
    950: '#000000',
  },
}
SCSS
$custom: #2d2b82;
$custom-light: #7165a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2b82",
  "rgb": {
    "r": 45,
    "g": 43,
    "b": 130
  },
  "hsl": {
    "h": 241.379,
    "s": 50.289,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35116,
    "c": 0.14164,
    "h": 277.2
  },
  "luminance": 0.03897
}

Semantic roles & 50–950 ramp

primary
#2D2B82
secondary
#AEB059
accent
#DA4ED7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #2D2B82

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

Preview Lab → · Contrast checker → · Palette generator →

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