#2D2C7C#2D2C7C

#2D2C7C is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.7% C 0.132 H 277.6°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#2D2C7C
RGBrgb(45, 44, 124)
HSLhsl(241, 48%, 33%)
HSVhsv(241, 65%, 49%)
CMYKcmyk(63.7%, 64.5%, 0%, 51.4%)
CIE-LABlab(23.05, 26.48, -45.42)
CIE-LCHlch(23.05, 52.58, 300.24°)
OKLaboklab(34.75% 0.0174 -0.1307)
OKLCHoklch(34.75% 0.132 277.6)
XYZxyz(5.6198, 3.8141, 19.5049)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2C7C #7B7C2C
analogous
#2C537C #2D2C7C #552C7C
triadic
#2D2C7C #7C2D2C #2C7C2D
tetradic
#2D2C7C #7C2C53 #7B7C2C #2C7C55
square
#2D2C7C #7C2C53 #7B7C2C #2C7C55
split-complementary
#2D2C7C #7C552C #537C2C
monochromatic
#0C0C22 #1D1C4F #2D2C7C #3D3CA9 #5E5DC5

Accessibility & contrast

On white

11.91
#2D2C7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2D2C7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2C7C
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2C7C#FFFFFF#000000##FFFFFF
##2D2C7C1.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7F
Deuteranopia (green-blind)
#00347A
Tritanopia (blue-blind)
#00404F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2d2c7c;
/* rgb */ color: rgb(45, 44, 124);
/* oklch */ color: oklch(34.7% 0.132 277.6);
Tailwind
colors: {
  custom: {
    50: '#6f65a3',
    500: '#2d2c7c',
    950: '#000000',
  },
}
SCSS
$custom: #2d2c7c;
$custom-light: #6f65a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2c7c",
  "rgb": {
    "r": 45,
    "g": 44,
    "b": 124
  },
  "hsl": {
    "h": 240.75,
    "s": 47.619,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34746,
    "c": 0.13189,
    "h": 277.6
  },
  "luminance": 0.03814
}

Semantic roles & 50–950 ramp

primary
#2D2C7C
secondary
#ABAC58
accent
#D751D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08050F
muted
#7B7A7F

Preview Lab

Preview with #2D2C7C

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

Preview Lab → · Contrast checker → · Palette generator →

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