#2D2BAE#2D2BAE

#2D2BAE is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.6% C 0.199 H 273.2°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#2D2BAE
RGBrgb(45, 43, 174)
HSLhsl(241, 60%, 43%)
HSVhsv(241, 75%, 68%)
CMYKcmyk(74.1%, 75.3%, 0%, 31.8%)
CIE-LABlab(27.68, 44.43, -68.59)
CIE-LCHlch(27.68, 81.72, 302.93°)
OKLaboklab(39.56% 0.0111 -0.1985)
OKLCHoklch(39.56% 0.199 273.2)
XYZxyz(9.5835, 5.3407, 40.5620)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2BAE #ACAE2B
analogous
#2B6BAE #2D2BAE #6E2BAE
triadic
#2D2BAE #AE2D2B #2BAE2D
tetradic
#2D2BAE #AE2B6B #ACAE2B #2BAE6E
square
#2D2BAE #AE2B6B #ACAE2B #2BAE6E
split-complementary
#2D2BAE #AE6E2B #6BAE2B
monochromatic
#14134C #201F7D #2D2BAE #4745D1 #7876DD

Accessibility & contrast

On white

10.15
#2D2BAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2D2BAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2BAE
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2BAE#FFFFFF#000000##FFFFFF
##2D2BAE1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B2
Deuteranopia (green-blind)
#003BAC
Tritanopia (blue-blind)
#00516A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2d2bae;
/* rgb */ color: rgb(45, 43, 174);
/* oklch */ color: oklch(39.6% 0.199 273.2);
Tailwind
colors: {
  custom: {
    50: '#7b66c7',
    500: '#2d2bae',
    950: '#000000',
  },
}
SCSS
$custom: #2d2bae;
$custom-light: #7b66c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2bae",
  "rgb": {
    "r": 45,
    "g": 43,
    "b": 174
  },
  "hsl": {
    "h": 240.916,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.39558,
    "c": 0.19877,
    "h": 273.2
  },
  "luminance": 0.05342
}

Semantic roles & 50–950 ramp

primary
#2D2BAE
secondary
#C4C570
accent
#E444E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2D2BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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