#2E2275#2E2275

#2E2275 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.4% C 0.135 H 282.4°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#2E2275
RGBrgb(46, 34, 117)
HSLhsl(249, 55%, 30%)
HSVhsv(249, 71%, 46%)
CMYKcmyk(60.7%, 70.9%, 0%, 54.1%)
CIE-LABlab(20.08, 30.68, -45.80)
CIE-LCHlch(20.08, 55.13, 303.82°)
OKLaboklab(32.42% 0.029 -0.1318)
OKLCHoklch(32.42% 0.135 282.4)
XYZxyz(4.9086, 3.0089, 17.1483)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2275 #697522
analogous
#223F75 #2E2275 #582275
triadic
#2E2275 #752E22 #22752E
tetradic
#2E2275 #75223F #697522 #227558
square
#2E2275 #75223F #697522 #227558
split-complementary
#2E2275 #755822 #3F7522
monochromatic
#090718 #1B1446 #2E2275 #4130A4 #5A48CA

Accessibility & contrast

On white

13.11
#2E2275 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#2E2275 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2275
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2275#FFFFFF#000000##FFFFFF
##2E22751.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003378
Deuteranopia (green-blind)
#002E73
Tritanopia (blue-blind)
#043848
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2e2275;
/* rgb */ color: rgb(46, 34, 117);
/* oklch */ color: oklch(32.4% 0.135 282.4);
Tailwind
colors: {
  custom: {
    50: '#6f5e9e',
    500: '#2e2275',
    950: '#000000',
  },
}
SCSS
$custom: #2e2275;
$custom-light: #6f5e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2275",
  "rgb": {
    "r": 46,
    "g": 34,
    "b": 117
  },
  "hsl": {
    "h": 248.675,
    "s": 54.967,
    "l": 29.608
  },
  "oklch": {
    "l": 0.32417,
    "c": 0.13499,
    "h": 282.4
  },
  "luminance": 0.03009
}

Semantic roles & 50–950 ramp

primary
#2E2275
secondary
#9BA84B
accent
#DE49C9
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #2E2275

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

Preview Lab → · Contrast checker → · Palette generator →

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