#2D2BA6#2D2BA6

#2D2BA6 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.7% C 0.189 H 273.8°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#2D2BA6
RGBrgb(45, 43, 166)
HSLhsl(241, 59%, 41%)
HSVhsv(241, 74%, 65%)
CMYKcmyk(72.9%, 74.1%, 0%, 34.9%)
CIE-LABlab(26.84, 41.76, -65.16)
CIE-LCHlch(26.84, 77.40, 302.65°)
OKLaboklab(38.71% 0.0125 -0.1885)
OKLCHoklch(38.71% 0.189 273.8)
XYZxyz(8.8267, 5.0379, 36.5762)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2BA6 #A4A62B
analogous
#2B66A6 #2D2BA6 #6A2BA6
triadic
#2D2BA6 #A62D2B #2BA62D
tetradic
#2D2BA6 #A62B66 #A4A62B #2BA66A
square
#2D2BA6 #A62B66 #A4A62B #2BA66A
split-complementary
#2D2BA6 #A66A2B #66A62B
monochromatic
#131245 #201E75 #2D2BA6 #4341CE #7371DA

Accessibility & contrast

On white

10.46
#2D2BA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2D2BA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2BA6
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2BA6#FFFFFF#000000##FFFFFF
##2D2BA61.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AA
Deuteranopia (green-blind)
#003AA4
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2d2ba6;
/* rgb */ color: rgb(45, 43, 166);
/* oklch */ color: oklch(38.7% 0.189 273.8);
Tailwind
colors: {
  custom: {
    50: '#7966c2',
    500: '#2d2ba6',
    950: '#000000',
  },
}
SCSS
$custom: #2d2ba6;
$custom-light: #7966c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2ba6",
  "rgb": {
    "r": 45,
    "g": 43,
    "b": 166
  },
  "hsl": {
    "h": 240.976,
    "s": 58.852,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38711,
    "c": 0.18891,
    "h": 273.8
  },
  "luminance": 0.05039
}

Semantic roles & 50–950 ramp

primary
#2D2BA6
secondary
#C0C16B
accent
#E246E0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #2D2BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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