#2D2D83#2D2D83

#2D2D83 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.6% C 0.140 H 276.5°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#2D2D83
RGBrgb(45, 45, 131)
HSLhsl(240, 49%, 35%)
HSVhsv(240, 66%, 51%)
CMYKcmyk(65.6%, 65.6%, 0%, 48.6%)
CIE-LABlab(23.91, 28.33, -48.43)
CIE-LCHlch(23.91, 56.10, 300.33°)
OKLaboklab(35.57% 0.016 -0.1395)
OKLCHoklch(35.57% 0.14 276.5)
XYZxyz(6.1160, 4.0729, 21.9322)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2D83 #83832D
analogous
#2D5883 #2D2D83 #582D83
triadic
#2D2D83 #832D2D #2D832D
tetradic
#2D2D83 #832D58 #83832D #2D8358
square
#2D2D83 #832D58 #83832D #2D8358
split-complementary
#2D2D83 #83582D #58832D
monochromatic
#0E0E28 #1D1D55 #2D2D83 #3D3DB1 #6262C9

Accessibility & contrast

On white

11.57
#2D2D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2D2D83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2D83
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2D83#FFFFFF#000000##FFFFFF
##2D2D831.0011.571.8111.57
#FFFFFF11.571.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D86
Deuteranopia (green-blind)
#003581
Tritanopia (blue-blind)
#004353
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2d2d83;
/* rgb */ color: rgb(45, 45, 131);
/* oklch */ color: oklch(35.6% 0.140 276.5);
Tailwind
colors: {
  custom: {
    50: '#7166a8',
    500: '#2d2d83',
    950: '#000000',
  },
}
SCSS
$custom: #2d2d83;
$custom-light: #7166a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2d83",
  "rgb": {
    "r": 45,
    "g": 45,
    "b": 131
  },
  "hsl": {
    "h": 240,
    "s": 48.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35569,
    "c": 0.14046,
    "h": 276.5
  },
  "luminance": 0.04073
}

Semantic roles & 50–950 ramp

primary
#2D2D83
secondary
#AFAF5C
accent
#D84FD8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2D2D83

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

Preview Lab → · Contrast checker → · Palette generator →

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