#2E2694#2E2694

#2E2694 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.2% C 0.171 H 276.8°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#2E2694
RGBrgb(46, 38, 148)
HSLhsl(244, 59%, 36%)
HSVhsv(244, 74%, 58%)
CMYKcmyk(68.9%, 74.3%, 0%, 42%)
CIE-LABlab(24.01, 38.73, -58.83)
CIE-LCHlch(24.01, 70.44, 303.35°)
OKLaboklab(36.16% 0.0201 -0.17)
OKLCHoklch(36.16% 0.171 276.8)
XYZxyz(7.1634, 4.1046, 28.4260)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2694 #8C9426
analogous
#265594 #2E2694 #652694
triadic
#2E2694 #942E26 #26942E
tetradic
#2E2694 #942655 #8C9426 #269465
square
#2E2694 #942655 #8C9426 #269465
split-complementary
#2E2694 #946526 #559426
monochromatic
#100D33 #1F1963 #2E2694 #3D33C5 #675FD6

Accessibility & contrast

On white

11.53
#2E2694 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2E2694 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2694
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2694#FFFFFF#000000##FFFFFF
##2E26941.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E97
Deuteranopia (green-blind)
#003492
Tritanopia (blue-blind)
#00455B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2e2694;
/* rgb */ color: rgb(46, 38, 148);
/* oklch */ color: oklch(36.2% 0.171 276.8);
Tailwind
colors: {
  custom: {
    50: '#7662b5',
    500: '#2e2694',
    950: '#000000',
  },
}
SCSS
$custom: #2e2694;
$custom-light: #7662b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2694",
  "rgb": {
    "r": 46,
    "g": 38,
    "b": 148
  },
  "hsl": {
    "h": 244.364,
    "s": 59.14,
    "l": 36.471
  },
  "oklch": {
    "l": 0.3616,
    "c": 0.17117,
    "h": 276.8
  },
  "luminance": 0.04105
}

Semantic roles & 50–950 ramp

primary
#2E2694
secondary
#B4BB5B
accent
#E245D7
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2E2694

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

Preview Lab → · Contrast checker → · Palette generator →

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