#2E2272#2E2272

#2E2272 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.1% C 0.131 H 283.0°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#2E2272
RGBrgb(46, 34, 114)
HSLhsl(249, 54%, 29%)
HSVhsv(249, 70%, 45%)
CMYKcmyk(59.6%, 70.2%, 0%, 55.3%)
CIE-LABlab(19.80, 29.67, -44.33)
CIE-LCHlch(19.80, 53.34, 303.79°)
OKLaboklab(32.13% 0.0295 -0.1275)
OKLCHoklch(32.13% 0.131 283)
XYZxyz(4.7351, 2.9395, 16.2342)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2272 #667222
analogous
#223E72 #2E2272 #562272
triadic
#2E2272 #722E22 #22722E
tetradic
#2E2272 #72223E #667222 #227256
square
#2E2272 #72223E #667222 #227256
split-complementary
#2E2272 #725622 #3E7222
monochromatic
#0A0718 #1B1443 #2E2272 #4130A1 #5A46C8

Accessibility & contrast

On white

13.22
#2E2272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#2E2272 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2272
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2272#FFFFFF#000000##FFFFFF
##2E22721.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003274
Deuteranopia (green-blind)
#002D70
Tritanopia (blue-blind)
#0A3747
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2e2272;
/* rgb */ color: rgb(46, 34, 114);
/* oklch */ color: oklch(32.1% 0.131 283.0);
Tailwind
colors: {
  custom: {
    50: '#6f5e9b',
    500: '#2e2272',
    950: '#000000',
  },
}
SCSS
$custom: #2e2272;
$custom-light: #6f5e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2272",
  "rgb": {
    "r": 46,
    "g": 34,
    "b": 114
  },
  "hsl": {
    "h": 249,
    "s": 54.054,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32129,
    "c": 0.13088,
    "h": 283
  },
  "luminance": 0.0294
}

Semantic roles & 50–950 ramp

primary
#2E2272
secondary
#98A54B
accent
#DD4AC7
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #2E2272

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

Preview Lab → · Contrast checker → · Palette generator →

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