#2D2CAC#2D2CAC

#2D2CAC is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.5% C 0.195 H 273.2°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#2D2CAC
RGBrgb(45, 44, 172)
HSLhsl(240, 59%, 42%)
HSVhsv(240, 74%, 67%)
CMYKcmyk(73.8%, 74.4%, 0%, 32.5%)
CIE-LABlab(27.67, 43.20, -67.41)
CIE-LCHlch(27.67, 80.06, 302.65°)
OKLaboklab(39.49% 0.011 -0.195)
OKLCHoklch(39.49% 0.195 273.2)
XYZxyz(9.4268, 5.3368, 39.5550)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2CAC #ABAC2C
analogous
#2C6BAC #2D2CAC #6D2CAC
triadic
#2D2CAC #AC2D2C #2CAC2D
tetradic
#2D2CAC #AC2C6B #ABAC2C #2CAC6D
square
#2D2CAC #AC2C6B #ABAC2C #2CAC6D
split-complementary
#2D2CAC #AC6D2C #6BAC2C
monochromatic
#14134B #20207B #2D2CAC #4746D0 #7776DC

Accessibility & contrast

On white

10.16
#2D2CAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2D2CAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2CAC
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2CAC#FFFFFF#000000##FFFFFF
##2D2CAC1.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B0
Deuteranopia (green-blind)
#003BAA
Tritanopia (blue-blind)
#00516A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2d2cac;
/* rgb */ color: rgb(45, 44, 172);
/* oklch */ color: oklch(39.5% 0.195 273.2);
Tailwind
colors: {
  custom: {
    50: '#7a67c6',
    500: '#2d2cac',
    950: '#000000',
  },
}
SCSS
$custom: #2d2cac;
$custom-light: #7a67c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2cac",
  "rgb": {
    "r": 45,
    "g": 44,
    "b": 172
  },
  "hsl": {
    "h": 240.469,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.39488,
    "c": 0.19534,
    "h": 273.2
  },
  "luminance": 0.05338
}

Semantic roles & 50–950 ramp

primary
#2D2CAC
secondary
#C3C470
accent
#E245E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2D2CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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