#2E2075#2E2075

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

Color values

HEX#2E2075
RGBrgb(46, 32, 117)
HSLhsl(250, 57%, 29%)
HSVhsv(250, 73%, 46%)
CMYKcmyk(60.7%, 72.6%, 0%, 54.1%)
CIE-LABlab(19.63, 31.92, -46.54)
CIE-LCHlch(19.63, 56.43, 304.44°)
OKLaboklab(32.1% 0.0308 -0.134)
OKLCHoklch(32.1% 0.137 282.9)
XYZxyz(4.8531, 2.8979, 17.1298)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2075 #677520
analogous
#203D75 #2E2075 #592075
triadic
#2E2075 #752E20 #20752E
tetradic
#2E2075 #75203D #677520 #207559
square
#2E2075 #75203D #677520 #207559
split-complementary
#2E2075 #755920 #3D7520
monochromatic
#090718 #1B1345 #2E2075 #412DA5 #5A44CC

Accessibility & contrast

On white

13.29
#2E2075 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#2E2075 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2075
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2075#FFFFFF#000000##FFFFFF
##2E20751.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003278
Deuteranopia (green-blind)
#002D73
Tritanopia (blue-blind)
#053748
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2e2075;
/* rgb */ color: rgb(46, 32, 117);
/* oklch */ color: oklch(32.1% 0.137 282.9);
Tailwind
colors: {
  custom: {
    50: '#705d9e',
    500: '#2e2075',
    950: '#000000',
  },
}
SCSS
$custom: #2e2075;
$custom-light: #705d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2075",
  "rgb": {
    "r": 46,
    "g": 32,
    "b": 117
  },
  "hsl": {
    "h": 249.882,
    "s": 57.047,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32095,
    "c": 0.13749,
    "h": 282.9
  },
  "luminance": 0.02898
}

Semantic roles & 50–950 ramp

primary
#2E2075
secondary
#99A848
accent
#E047C7
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #2E2075

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

Preview Lab → · Contrast checker → · Palette generator →

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