#2E2597#2E2597

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

Color values

HEX#2E2597
RGBrgb(46, 37, 151)
HSLhsl(245, 61%, 37%)
HSVhsv(245, 75%, 59%)
CMYKcmyk(69.5%, 75.5%, 0%, 40.8%)
CIE-LABlab(24.12, 40.30, -60.51)
CIE-LCHlch(24.12, 72.70, 303.66°)
OKLaboklab(36.33% 0.0201 -0.1748)
OKLCHoklch(36.33% 0.176 276.6)
XYZxyz(7.3724, 4.1377, 29.6823)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2597 #8E9725
analogous
#255597 #2E2597 #672597
triadic
#2E2597 #972E25 #25972E
tetradic
#2E2597 #972555 #8E9725 #259767
square
#2E2597 #972555 #8E9725 #259767
split-complementary
#2E2597 #976725 #559725
monochromatic
#100D35 #1F1966 #2E2597 #3D31C8 #685FD8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E2597#FFFFFF#000000##FFFFFF
##2E25971.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)
#003E9A
Deuteranopia (green-blind)
#003495
Tritanopia (blue-blind)
#00465C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2e2597;
/* rgb */ color: rgb(46, 37, 151);
/* oklch */ color: oklch(36.3% 0.176 276.6);
Tailwind
colors: {
  custom: {
    50: '#7761b7',
    500: '#2e2597',
    950: '#000000',
  },
}
SCSS
$custom: #2e2597;
$custom-light: #7761b7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2597",
  "rgb": {
    "r": 46,
    "g": 37,
    "b": 151
  },
  "hsl": {
    "h": 244.737,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.3633,
    "c": 0.176,
    "h": 276.6
  },
  "luminance": 0.04138
}

Semantic roles & 50–950 ramp

primary
#2E2597
secondary
#B5BD5B
accent
#E444D7
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2E2597

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

Preview Lab → · Contrast checker → · Palette generator →

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