#2E2595#2E2595

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

Color values

HEX#2E2595
RGBrgb(46, 37, 149)
HSLhsl(245, 60%, 36%)
HSVhsv(245, 75%, 58%)
CMYKcmyk(69.1%, 75.2%, 0%, 41.6%)
CIE-LABlab(23.91, 39.64, -59.62)
CIE-LCHlch(23.91, 71.59, 303.62°)
OKLaboklab(36.12% 0.0206 -0.1723)
OKLCHoklch(36.12% 0.173 276.8)
XYZxyz(7.2113, 4.0733, 28.8341)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2595 #8C9525
analogous
#255495 #2E2595 #662595
triadic
#2E2595 #952E25 #25952E
tetradic
#2E2595 #952554 #8C9525 #259566
square
#2E2595 #952554 #8C9525 #259566
split-complementary
#2E2595 #956625 #549525
monochromatic
#100D33 #1F1964 #2E2595 #3D31C6 #675ED7

Accessibility & contrast

On white

11.57
#2E2595 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2E2595 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2595
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2595#FFFFFF#000000##FFFFFF
##2E25951.0011.571.8111.57
#FFFFFF11.571.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.571.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: #2e2595;
/* rgb */ color: rgb(46, 37, 149);
/* oklch */ color: oklch(36.1% 0.173 276.8);
Tailwind
colors: {
  custom: {
    50: '#7661b5',
    500: '#2e2595',
    950: '#000000',
  },
}
SCSS
$custom: #2e2595;
$custom-light: #7661b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2595",
  "rgb": {
    "r": 46,
    "g": 37,
    "b": 149
  },
  "hsl": {
    "h": 244.821,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36119,
    "c": 0.17349,
    "h": 276.8
  },
  "luminance": 0.04074
}

Semantic roles & 50–950 ramp

primary
#2E2595
secondary
#B4BC5A
accent
#E344D7
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2E2595

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

Preview Lab → · Contrast checker → · Palette generator →

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