#2E2695#2E2695

#2E2695 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.3% C 0.172 H 276.6°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#2E2695
RGBrgb(46, 38, 149)
HSLhsl(244, 59%, 37%)
HSVhsv(244, 74%, 58%)
CMYKcmyk(69.1%, 74.5%, 0%, 41.6%)
CIE-LABlab(24.12, 39.06, -59.28)
CIE-LCHlch(24.12, 70.99, 303.38°)
OKLaboklab(36.26% 0.0199 -0.1713)
OKLCHoklch(36.26% 0.172 276.6)
XYZxyz(7.2429, 4.1363, 28.8446)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2695 #8D9526
analogous
#265695 #2E2695 #662695
triadic
#2E2695 #952E26 #26952E
tetradic
#2E2695 #952656 #8D9526 #269566
square
#2E2695 #952656 #8D9526 #269566
split-complementary
#2E2695 #956626 #569526
monochromatic
#100D33 #1F1A64 #2E2695 #3D32C6 #685FD6

Accessibility & contrast

On white

11.49
#2E2695 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2E2695 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2695
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2695#FFFFFF#000000##FFFFFF
##2E26951.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e2695;
/* rgb */ color: rgb(46, 38, 149);
/* oklch */ color: oklch(36.3% 0.172 276.6);
Tailwind
colors: {
  custom: {
    50: '#7662b5',
    500: '#2e2695',
    950: '#000000',
  },
}
SCSS
$custom: #2e2695;
$custom-light: #7662b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2695",
  "rgb": {
    "r": 46,
    "g": 38,
    "b": 149
  },
  "hsl": {
    "h": 244.324,
    "s": 59.358,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36264,
    "c": 0.17245,
    "h": 276.6
  },
  "luminance": 0.04137
}

Semantic roles & 50–950 ramp

primary
#2E2695
secondary
#B5BB5B
accent
#E345D7
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2E2695

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

Preview Lab → · Contrast checker → · Palette generator →

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