#2D2EBC#2D2EBC

#2D2EBC is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 41.5% C 0.213 H 271.9°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#2D2EBC
RGBrgb(45, 46, 188)
HSLhsl(240, 61%, 46%)
HSVhsv(240, 76%, 74%)
CMYKcmyk(76.1%, 75.5%, 0%, 26.3%)
CIE-LABlab(29.77, 47.37, -73.48)
CIE-LCHlch(29.77, 87.43, 302.81°)
OKLaboklab(41.47% 0.0072 -0.2127)
OKLCHoklch(41.47% 0.213 271.9)
XYZxyz(11.1332, 6.1415, 48.1659)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2EBC #BCBB2D
analogous
#2D76BC #2D2EBC #732DBC
triadic
#2D2EBC #BC2D2E #2EBC2D
tetradic
#2D2EBC #BC2D76 #BCBB2D #2DBC73
square
#2D2EBC #BC2D76 #BCBB2D #2DBC73
split-complementary
#2D2EBC #BC732D #76BC2D
monochromatic
#151659 #21228B #2D2EBC #5152D5 #8283E1

Accessibility & contrast

On white

9.42
#2D2EBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2D2EBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2EBC
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2EBC#FFFFFF#000000##FFFFFF
##2D2EBC1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d2ebc;
/* rgb */ color: rgb(45, 46, 188);
/* oklch */ color: oklch(41.5% 0.213 271.9);
Tailwind
colors: {
  custom: {
    50: '#7e69d2',
    500: '#2d2ebc',
    950: '#000000',
  },
}
SCSS
$custom: #2d2ebc;
$custom-light: #7e69d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2ebc",
  "rgb": {
    "r": 45,
    "g": 46,
    "b": 188
  },
  "hsl": {
    "h": 239.58,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.41474,
    "c": 0.21283,
    "h": 271.9
  },
  "luminance": 0.06143
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D2EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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