#2E2673#2E2673

#2E2673 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.9% C 0.127 H 281.5°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#2E2673
RGBrgb(46, 38, 115)
HSLhsl(246, 50%, 30%)
HSVhsv(246, 67%, 45%)
CMYKcmyk(60%, 67%, 0%, 54.9%)
CIE-LABlab(20.85, 27.44, -43.27)
CIE-LCHlch(20.85, 51.23, 302.39°)
OKLaboklab(32.91% 0.0254 -0.1244)
OKLCHoklch(32.91% 0.127 281.5)
XYZxyz(4.9134, 3.2046, 16.5760)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2673 #6B7326
analogous
#264473 #2E2673 #552673
triadic
#2E2673 #732E26 #26732E
tetradic
#2E2673 #732644 #6B7326 #267355
square
#2E2673 #732644 #6B7326 #267355
split-complementary
#2E2673 #735526 #447326
monochromatic
#090817 #1C1745 #2E2673 #4035A1 #5B4FC5

Accessibility & contrast

On white

12.80
#2E2673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#2E2673 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2673
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2673#FFFFFF#000000##FFFFFF
##2E26731.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003575
Deuteranopia (green-blind)
#002F71
Tritanopia (blue-blind)
#073948
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2e2673;
/* rgb */ color: rgb(46, 38, 115);
/* oklch */ color: oklch(32.9% 0.127 281.5);
Tailwind
colors: {
  custom: {
    50: '#6f619c',
    500: '#2e2673',
    950: '#000000',
  },
}
SCSS
$custom: #2e2673;
$custom-light: #6f619c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2673",
  "rgb": {
    "r": 46,
    "g": 38,
    "b": 115
  },
  "hsl": {
    "h": 246.234,
    "s": 50.327,
    "l": 30
  },
  "oklch": {
    "l": 0.32914,
    "c": 0.12697,
    "h": 281.5
  },
  "luminance": 0.03205
}

Semantic roles & 50–950 ramp

primary
#2E2673
secondary
#9DA64F
accent
#DA4ECB
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #2E2673

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

Preview Lab → · Contrast checker → · Palette generator →

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