#2D2C7B#2D2C7B

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

Color values

HEX#2D2C7B
RGBrgb(45, 44, 123)
HSLhsl(241, 47%, 33%)
HSVhsv(241, 64%, 48%)
CMYKcmyk(63.4%, 64.2%, 0%, 51.8%)
CIE-LABlab(22.96, 26.12, -44.93)
CIE-LCHlch(22.96, 51.97, 300.18°)
OKLaboklab(34.66% 0.0175 -0.1293)
OKLCHoklch(34.66% 0.13 277.7)
XYZxyz(5.5569, 3.7889, 19.1736)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2C7B #7A7B2C
analogous
#2C537B #2D2C7B #542C7B
triadic
#2D2C7B #7B2D2C #2C7B2D
tetradic
#2D2C7B #7B2C53 #7A7B2C #2C7B54
square
#2D2C7B #7B2C53 #7A7B2C #2C7B54
split-complementary
#2D2C7B #7B542C #537B2C
monochromatic
#0C0C21 #1D1C4E #2D2C7B #3D3CA8 #5E5DC5

Accessibility & contrast

On white

11.95
#2D2C7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2C7B
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2C7B#FFFFFF#000000##FFFFFF
##2D2C7B1.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7E
Deuteranopia (green-blind)
#003379
Tritanopia (blue-blind)
#00404F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2d2c7b;
/* rgb */ color: rgb(45, 44, 123);
/* oklch */ color: oklch(34.7% 0.130 277.7);
Tailwind
colors: {
  custom: {
    50: '#6f65a2',
    500: '#2d2c7b',
    950: '#000000',
  },
}
SCSS
$custom: #2d2c7b;
$custom-light: #6f65a2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2c7b",
  "rgb": {
    "r": 45,
    "g": 44,
    "b": 123
  },
  "hsl": {
    "h": 240.759,
    "s": 47.305,
    "l": 32.745
  },
  "oklch": {
    "l": 0.34656,
    "c": 0.13046,
    "h": 277.7
  },
  "luminance": 0.03789
}

Semantic roles & 50–950 ramp

primary
#2D2C7B
secondary
#AAAB58
accent
#D751D5
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#08050F
muted
#7B7A7F

Preview Lab

Preview with #2D2C7B

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

Preview Lab → · Contrast checker → · Palette generator →

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