#2D2EBB#2D2EBB

#2D2EBB is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 41.4% C 0.212 H 272.0°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#2D2EBB
RGBrgb(45, 46, 187)
HSLhsl(240, 61%, 45%)
HSVhsv(240, 76%, 73%)
CMYKcmyk(75.9%, 75.4%, 0%, 26.7%)
CIE-LABlab(29.66, 47.04, -73.07)
CIE-LCHlch(29.66, 86.90, 302.77°)
OKLaboklab(41.37% 0.0073 -0.2115)
OKLCHoklch(41.37% 0.212 272)
XYZxyz(11.0258, 6.0986, 47.6001)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2EBB #BBBA2D
analogous
#2D75BB #2D2EBB #732DBB
triadic
#2D2EBB #BB2D2E #2EBB2D
tetradic
#2D2EBB #BB2D75 #BBBA2D #2DBB73
square
#2D2EBB #BB2D75 #BBBA2D #2DBB73
split-complementary
#2D2EBB #BB732D #75BB2D
monochromatic
#151658 #21228A #2D2EBB #5051D5 #8282E1

Accessibility & contrast

On white

9.46
#2D2EBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2D2EBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2EBB
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2EBB#FFFFFF#000000##FFFFFF
##2D2EBB1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBF
Deuteranopia (green-blind)
#003FB9
Tritanopia (blue-blind)
#005873
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2d2ebb;
/* rgb */ color: rgb(45, 46, 187);
/* oklch */ color: oklch(41.4% 0.212 272.0);
Tailwind
colors: {
  custom: {
    50: '#7e69d1',
    500: '#2d2ebb',
    950: '#000000',
  },
}
SCSS
$custom: #2d2ebb;
$custom-light: #7e69d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2ebb",
  "rgb": {
    "r": 45,
    "g": 46,
    "b": 187
  },
  "hsl": {
    "h": 239.577,
    "s": 61.207,
    "l": 45.49
  },
  "oklch": {
    "l": 0.41367,
    "c": 0.21164,
    "h": 272
  },
  "luminance": 0.061
}

Semantic roles & 50–950 ramp

primary
#2D2EBB
secondary
#CAC97A
accent
#E343E4
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2D2EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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