#2D264A#2D264A

#2D264A is a dark, moderate violet. Relative luminance 0.024; OKLCH L 29.5% C 0.064 H 290.9°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#2D264A
RGBrgb(45, 38, 74)
HSLhsl(252, 32%, 22%)
HSVhsv(252, 49%, 29%)
CMYKcmyk(39.2%, 48.6%, 0%, 71%)
CIE-LABlab(17.64, 13.22, -21.31)
CIE-LCHlch(17.64, 25.08, 301.80°)
OKLaboklab(29.53% 0.0229 -0.06)
OKLCHoklch(29.53% 0.064 290.9)
XYZxyz(3.0110, 2.4385, 6.7893)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D264A #434A26
analogous
#26314A #2D264A #3F264A
triadic
#2D264A #4A2D26 #264A2D
tetradic
#2D264A #4A2631 #434A26 #264A3F
square
#2D264A #4A2631 #434A26 #264A3F
split-complementary
#2D264A #4A3F26 #314A26
monochromatic
#0C0A14 #141122 #2D264A #463B72 #5E509B

Accessibility & contrast

On white

14.11
#2D264A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#2D264A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D264A
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D264A#FFFFFF#000000##FFFFFF
##2D264A1.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2C4B
Deuteranopia (green-blind)
#1B2A49
Tritanopia (blue-blind)
#262D34
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2d264a;
/* rgb */ color: rgb(45, 38, 74);
/* oklch */ color: oklch(29.5% 0.064 290.9);
Tailwind
colors: {
  custom: {
    50: '#67607d',
    500: '#2d264a',
    950: '#000000',
  },
}
SCSS
$custom: #2d264a;
$custom-light: #67607d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d264a",
  "rgb": {
    "r": 45,
    "g": 38,
    "b": 74
  },
  "hsl": {
    "h": 251.667,
    "s": 32.143,
    "l": 21.961
  },
  "oklch": {
    "l": 0.29525,
    "c": 0.06417,
    "h": 290.9
  },
  "luminance": 0.02439
}

Semantic roles & 50–950 ramp

primary
#2D264A
secondary
#747D4F
accent
#C85FB4
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#060409
muted
#7A797B

Preview Lab

Preview with #2D264A

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

Preview Lab → · Contrast checker → · Palette generator →

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