#2E264B#2E264B

#2E264B is a dark, moderate violet. Relative luminance 0.025; OKLCH L 29.7% C 0.066 H 291.8°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#2E264B
RGBrgb(46, 38, 75)
HSLhsl(253, 33%, 22%)
HSVhsv(253, 49%, 29%)
CMYKcmyk(38.7%, 49.3%, 0%, 70.6%)
CIE-LABlab(17.81, 13.86, -21.72)
CIE-LCHlch(17.81, 25.77, 302.54°)
OKLaboklab(29.7% 0.0245 -0.0611)
OKLCHoklch(29.7% 0.066 291.8)
XYZxyz(3.0895, 2.4750, 6.9702)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E264B #434B26
analogous
#26314B #2E264B #41264B
triadic
#2E264B #4B2E26 #264B2E
tetradic
#2E264B #4B2631 #434B26 #264B41
square
#2E264B #4B2631 #434B26 #264B41
split-complementary
#2E264B #4B4126 #314B26
monochromatic
#0C0A14 #151122 #2E264B #473B74 #604F9C

Accessibility & contrast

On white

14.05
#2E264B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#2E264B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E264B
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E264B#FFFFFF#000000##FFFFFF
##2E264B1.0014.051.5014.05
#FFFFFF14.051.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2C4C
Deuteranopia (green-blind)
#1B2B4A
Tritanopia (blue-blind)
#272D34
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2e264b;
/* rgb */ color: rgb(46, 38, 75);
/* oklch */ color: oklch(29.7% 0.066 291.8);
Tailwind
colors: {
  custom: {
    50: '#68607d',
    500: '#2e264b',
    950: '#000000',
  },
}
SCSS
$custom: #2e264b;
$custom-light: #68607d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e264b",
  "rgb": {
    "r": 46,
    "g": 38,
    "b": 75
  },
  "hsl": {
    "h": 252.973,
    "s": 32.743,
    "l": 22.157
  },
  "oklch": {
    "l": 0.29697,
    "c": 0.06585,
    "h": 291.8
  },
  "luminance": 0.02475
}

Semantic roles & 50–950 ramp

primary
#2E264B
secondary
#747E4F
accent
#C95FB2
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#060409
muted
#7A797B

Preview Lab

Preview with #2E264B

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

Preview Lab → · Contrast checker → · Palette generator →

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