#2D2CAA#2D2CAA

#2D2CAA is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.3% C 0.193 H 273.4°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#2D2CAA
RGBrgb(45, 44, 170)
HSLhsl(240, 59%, 42%)
HSVhsv(240, 74%, 67%)
CMYKcmyk(73.5%, 74.1%, 0%, 33.3%)
CIE-LABlab(27.46, 42.52, -66.55)
CIE-LCHlch(27.46, 78.98, 302.58°)
OKLaboklab(39.28% 0.0113 -0.1925)
OKLCHoklch(39.28% 0.193 273.4)
XYZxyz(9.2361, 5.2606, 38.5511)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2CAA #A9AA2C
analogous
#2C6AAA #2D2CAA #6C2CAA
triadic
#2D2CAA #AA2D2C #2CAA2D
tetradic
#2D2CAA #AA2C6A #A9AA2C #2CAA6C
square
#2D2CAA #AA2C6A #A9AA2C #2CAA6C
split-complementary
#2D2CAA #AA6C2C #6AAA2C
monochromatic
#131349 #201F79 #2D2CAA #4644CF #7675DB

Accessibility & contrast

On white

10.23
#2D2CAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2D2CAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2CAA
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2CAA#FFFFFF#000000##FFFFFF
##2D2CAA1.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AE
Deuteranopia (green-blind)
#003BA8
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2d2caa;
/* rgb */ color: rgb(45, 44, 170);
/* oklch */ color: oklch(39.3% 0.193 273.4);
Tailwind
colors: {
  custom: {
    50: '#7a67c5',
    500: '#2d2caa',
    950: '#000000',
  },
}
SCSS
$custom: #2d2caa;
$custom-light: #7a67c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2caa",
  "rgb": {
    "r": 45,
    "g": 44,
    "b": 170
  },
  "hsl": {
    "h": 240.476,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.39277,
    "c": 0.19286,
    "h": 273.4
  },
  "luminance": 0.05262
}

Semantic roles & 50–950 ramp

primary
#2D2CAA
secondary
#C2C36F
accent
#E246E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2D2CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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