#2D2CA5#2D2CA5

#2D2CA5 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.8% C 0.187 H 273.7°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#2D2CA5
RGBrgb(45, 44, 165)
HSLhsl(240, 58%, 41%)
HSVhsv(240, 73%, 65%)
CMYKcmyk(72.7%, 73.3%, 0%, 35.3%)
CIE-LABlab(26.95, 40.84, -64.39)
CIE-LCHlch(26.95, 76.25, 302.39°)
OKLaboklab(38.75% 0.0122 -0.1862)
OKLCHoklch(38.75% 0.187 273.7)
XYZxyz(8.7721, 5.0750, 36.1073)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2CA5 #A4A52C
analogous
#2C67A5 #2D2CA5 #692CA5
triadic
#2D2CA5 #A52D2C #2CA52D
tetradic
#2D2CA5 #A52C67 #A4A52C #2CA569
square
#2D2CA5 #A52C67 #A4A52C #2CA569
split-complementary
#2D2CA5 #A5692C #67A52C
monochromatic
#131244 #201F75 #2D2CA5 #4342CD #7372D9

Accessibility & contrast

On white

10.42
#2D2CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2D2CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2CA5
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2CA5#FFFFFF#000000##FFFFFF
##2D2CA51.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A9
Deuteranopia (green-blind)
#003AA3
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2d2ca5;
/* rgb */ color: rgb(45, 44, 165);
/* oklch */ color: oklch(38.8% 0.187 273.7);
Tailwind
colors: {
  custom: {
    50: '#7966c1',
    500: '#2d2ca5',
    950: '#000000',
  },
}
SCSS
$custom: #2d2ca5;
$custom-light: #7966c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2ca5",
  "rgb": {
    "r": 45,
    "g": 44,
    "b": 165
  },
  "hsl": {
    "h": 240.496,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38754,
    "c": 0.18663,
    "h": 273.7
  },
  "luminance": 0.05076
}

Semantic roles & 50–950 ramp

primary
#2D2CA5
secondary
#C0C16C
accent
#E147E0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2D2CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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