#2E2470#2E2470

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

Color values

HEX#2E2470
RGBrgb(46, 36, 112)
HSLhsl(248, 51%, 29%)
HSVhsv(248, 68%, 44%)
CMYKcmyk(58.9%, 67.9%, 0%, 56.1%)
CIE-LABlab(20.09, 27.71, -42.56)
CIE-LCHlch(20.09, 50.78, 303.06°)
OKLaboklab(32.29% 0.0278 -0.1223)
OKLCHoklch(32.29% 0.125 282.8)
XYZxyz(4.6813, 3.0122, 15.6608)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2470 #667024
analogous
#244070 #2E2470 #542470
triadic
#2E2470 #702E24 #24702E
tetradic
#2E2470 #702440 #667024 #247054
square
#2E2470 #702440 #667024 #247054
split-complementary
#2E2470 #705424 #407024
monochromatic
#0A0717 #1B1542 #2E2470 #41339E #5A4AC5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E2470#FFFFFF#000000##FFFFFF
##2E24701.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)
#003372
Deuteranopia (green-blind)
#002E6E
Tritanopia (blue-blind)
#0D3746
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2e2470;
/* rgb */ color: rgb(46, 36, 112);
/* oklch */ color: oklch(32.3% 0.125 282.8);
Tailwind
colors: {
  custom: {
    50: '#6e5f9a',
    500: '#2e2470',
    950: '#000000',
  },
}
SCSS
$custom: #2e2470;
$custom-light: #6e5f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2470",
  "rgb": {
    "r": 46,
    "g": 36,
    "b": 112
  },
  "hsl": {
    "h": 247.895,
    "s": 51.351,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32285,
    "c": 0.12544,
    "h": 282.8
  },
  "luminance": 0.03012
}

Semantic roles & 50–950 ramp

primary
#2E2470
secondary
#98A34D
accent
#DB4DC8
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08040E
muted
#7A797E

Preview Lab

Preview with #2E2470

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

Preview Lab → · Contrast checker → · Palette generator →

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