#2D2B83#2D2B83

#2D2B83 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.2% C 0.143 H 277.1°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#2D2B83
RGBrgb(45, 43, 131)
HSLhsl(241, 51%, 34%)
HSVhsv(241, 67%, 51%)
CMYKcmyk(65.6%, 67.2%, 0%, 48.6%)
CIE-LABlab(23.42, 29.64, -49.23)
CIE-LCHlch(23.42, 57.47, 301.05°)
OKLaboklab(35.21% 0.0177 -0.1419)
OKLCHoklch(35.21% 0.143 277.1)
XYZxyz(6.0415, 3.9238, 21.9073)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2B83 #81832B
analogous
#2B5583 #2D2B83 #592B83
triadic
#2D2B83 #832D2B #2B832D
tetradic
#2D2B83 #832B55 #81832B #2B8359
square
#2D2B83 #832B55 #81832B #2B8359
split-complementary
#2D2B83 #83592B #55832B
monochromatic
#0D0D27 #1D1C55 #2D2B83 #3D3AB1 #615ECA

Accessibility & contrast

On white

11.77
#2D2B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2B83
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2B83#FFFFFF#000000##FFFFFF
##2D2B831.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C86
Deuteranopia (green-blind)
#003481
Tritanopia (blue-blind)
#004253
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2d2b83;
/* rgb */ color: rgb(45, 43, 131);
/* oklch */ color: oklch(35.2% 0.143 277.1);
Tailwind
colors: {
  custom: {
    50: '#7165a8',
    500: '#2d2b83',
    950: '#000000',
  },
}
SCSS
$custom: #2d2b83;
$custom-light: #7165a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2b83",
  "rgb": {
    "r": 45,
    "g": 43,
    "b": 131
  },
  "hsl": {
    "h": 241.364,
    "s": 50.575,
    "l": 34.118
  },
  "oklch": {
    "l": 0.3521,
    "c": 0.14302,
    "h": 277.1
  },
  "luminance": 0.03924
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D2B83

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

Preview Lab → · Contrast checker → · Palette generator →

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