#2E2370#2E2370

#2E2370 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.1% C 0.127 H 283.1°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#2E2370
RGBrgb(46, 35, 112)
HSLhsl(249, 52%, 29%)
HSVhsv(249, 69%, 44%)
CMYKcmyk(58.9%, 68.8%, 0%, 56.1%)
CIE-LABlab(19.85, 28.35, -42.95)
CIE-LCHlch(19.85, 51.47, 303.43°)
OKLaboklab(32.11% 0.0288 -0.1235)
OKLCHoklch(32.11% 0.127 283.1)
XYZxyz(4.6515, 2.9525, 15.6509)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2370 #657023
analogous
#233F70 #2E2370 #552370
triadic
#2E2370 #702E23 #23702E
tetradic
#2E2370 #70233F #657023 #237055
square
#2E2370 #70233F #657023 #237055
split-complementary
#2E2370 #705523 #3F7023
monochromatic
#0A0717 #1B1441 #2E2370 #41329F #5A48C6

Accessibility & contrast

On white

13.20
#2E2370 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2370
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2370#FFFFFF#000000##FFFFFF
##2E23701.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003272
Deuteranopia (green-blind)
#002D6E
Tritanopia (blue-blind)
#0D3646
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2e2370;
/* rgb */ color: rgb(46, 35, 112);
/* oklch */ color: oklch(32.1% 0.127 283.1);
Tailwind
colors: {
  custom: {
    50: '#6e5f9a',
    500: '#2e2370',
    950: '#000000',
  },
}
SCSS
$custom: #2e2370;
$custom-light: #6e5f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2370",
  "rgb": {
    "r": 46,
    "g": 35,
    "b": 112
  },
  "hsl": {
    "h": 248.571,
    "s": 52.381,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32111,
    "c": 0.12679,
    "h": 283.1
  },
  "luminance": 0.02953
}

Semantic roles & 50–950 ramp

primary
#2E2370
secondary
#97A34C
accent
#DC4CC7
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #2E2370

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

Preview Lab → · Contrast checker → · Palette generator →

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