#2D2B86#2D2B86

#2D2B86 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.5% C 0.147 H 276.8°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#2D2B86
RGBrgb(45, 43, 134)
HSLhsl(241, 51%, 35%)
HSVhsv(241, 68%, 53%)
CMYKcmyk(66.4%, 67.9%, 0%, 47.5%)
CIE-LABlab(23.69, 30.70, -50.66)
CIE-LCHlch(23.69, 59.24, 301.21°)
OKLaboklab(35.49% 0.0174 -0.1461)
OKLCHoklch(35.49% 0.147 276.8)
XYZxyz(6.2477, 4.0064, 22.9937)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2B86 #84862B
analogous
#2B5686 #2D2B86 #5B2B86
triadic
#2D2B86 #862D2B #2B862D
tetradic
#2D2B86 #862B56 #84862B #2B865B
square
#2D2B86 #862B56 #84862B #2B865B
split-complementary
#2D2B86 #865B2B #56862B
monochromatic
#0E0D29 #1D1C58 #2D2B86 #3D3AB4 #6260CC

Accessibility & contrast

On white

11.66
#2D2B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2D2B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2B86
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2B86#FFFFFF#000000##FFFFFF
##2D2B861.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C89
Deuteranopia (green-blind)
#003484
Tritanopia (blue-blind)
#004354
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2d2b86;
/* rgb */ color: rgb(45, 43, 134);
/* oklch */ color: oklch(35.5% 0.147 276.8);
Tailwind
colors: {
  custom: {
    50: '#7265aa',
    500: '#2d2b86',
    950: '#000000',
  },
}
SCSS
$custom: #2d2b86;
$custom-light: #7265aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2b86",
  "rgb": {
    "r": 45,
    "g": 43,
    "b": 134
  },
  "hsl": {
    "h": 241.319,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35494,
    "c": 0.14716,
    "h": 276.8
  },
  "luminance": 0.04007
}

Semantic roles & 50–950 ramp

primary
#2D2B86
secondary
#B0B25B
accent
#DB4DD8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2D2B86

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

Preview Lab → · Contrast checker → · Palette generator →

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