#2D233B#2D233B

#2D233B is a dark, muted violet. Relative luminance 0.021; OKLCH L 27.9% C 0.045 H 302.7°. Best body text is #FFFFFF at 14.84:1 contrast (WCAG AA passes).

Color values

HEX#2D233B
RGBrgb(45, 35, 59)
HSLhsl(265, 26%, 18%)
HSVhsv(265, 41%, 23%)
CMYKcmyk(23.7%, 40.7%, 0%, 76.9%)
CIE-LABlab(15.88, 10.74, -13.70)
CIE-LCHlch(15.88, 17.41, 308.08°)
OKLaboklab(27.91% 0.0244 -0.0379)
OKLCHoklch(27.91% 0.045 302.7)
XYZxyz(2.4725, 2.0757, 4.4072)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D233B #313B23
analogous
#23253B #2D233B #39233B
triadic
#2D233B #3B2D23 #233B2D
tetradic
#2D233B #3B2325 #313B23 #233B39
square
#2D233B #3B2325 #313B23 #233B39
split-complementary
#2D233B #3B3923 #253B23
monochromatic
#0F0B13 #100C15 #2D233B #4A3A61 #685188

Accessibility & contrast

On white

14.84
#2D233B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#2D233B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D233B
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D233B#FFFFFF#000000##FFFFFF
##2D233B1.0014.841.4214.84
#FFFFFF14.841.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E273C
Deuteranopia (green-blind)
#20273A
Tritanopia (blue-blind)
#2B272C
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2d233b;
/* rgb */ color: rgb(45, 35, 59);
/* oklch */ color: oklch(27.9% 0.045 302.7);
Tailwind
colors: {
  custom: {
    50: '#665e71',
    500: '#2d233b',
    950: '#000000',
  },
}
SCSS
$custom: #2d233b;
$custom-light: #665e71;
$custom-dark: #000000;
JSON
{
  "hex": "#2d233b",
  "rgb": {
    "r": 45,
    "g": 35,
    "b": 59
  },
  "hsl": {
    "h": 265,
    "s": 25.532,
    "l": 18.431
  },
  "oklch": {
    "l": 0.27907,
    "c": 0.04509,
    "h": 302.7
  },
  "luminance": 0.02076
}

Semantic roles & 50–950 ramp

primary
#2D233B
secondary
#606E4C
accent
#C2669C
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#060407
muted
#7A797A

Preview Lab

Preview with #2D233B

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

Preview Lab → · Contrast checker → · Palette generator →

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