#2D2CA7#2D2CA7

#2D2CA7 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 39.0% C 0.189 H 273.6°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#2D2CA7
RGBrgb(45, 44, 167)
HSLhsl(240, 58%, 41%)
HSVhsv(240, 74%, 65%)
CMYKcmyk(73.1%, 73.7%, 0%, 34.5%)
CIE-LABlab(27.15, 41.52, -65.26)
CIE-LCHlch(27.15, 77.34, 302.46°)
OKLaboklab(38.96% 0.0118 -0.1888)
OKLCHoklch(38.96% 0.189 273.6)
XYZxyz(8.9556, 5.1484, 37.0735)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2CA7 #A6A72C
analogous
#2C69A7 #2D2CA7 #6B2CA7
triadic
#2D2CA7 #A72D2C #2CA72D
tetradic
#2D2CA7 #A72C69 #A6A72C #2CA76B
square
#2D2CA7 #A72C69 #A6A72C #2CA76B
split-complementary
#2D2CA7 #A76B2C #69A72C
monochromatic
#131246 #201F77 #2D2CA7 #4443CD #7473DA

Accessibility & contrast

On white

10.35
#2D2CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2D2CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2CA7
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2CA7#FFFFFF#000000##FFFFFF
##2D2CA71.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AB
Deuteranopia (green-blind)
#003AA5
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2d2ca7;
/* rgb */ color: rgb(45, 44, 167);
/* oklch */ color: oklch(39.0% 0.189 273.6);
Tailwind
colors: {
  custom: {
    50: '#7967c2',
    500: '#2d2ca7',
    950: '#000000',
  },
}
SCSS
$custom: #2d2ca7;
$custom-light: #7967c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2ca7",
  "rgb": {
    "r": 45,
    "g": 44,
    "b": 167
  },
  "hsl": {
    "h": 240.488,
    "s": 58.294,
    "l": 41.373
  },
  "oklch": {
    "l": 0.38963,
    "c": 0.18913,
    "h": 273.6
  },
  "luminance": 0.05149
}

Semantic roles & 50–950 ramp

primary
#2D2CA7
secondary
#C1C26D
accent
#E246E0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2D2CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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