#2E2590#2E2590

#2E2590 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.6% C 0.167 H 277.4°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#2E2590
RGBrgb(46, 37, 144)
HSLhsl(245, 59%, 35%)
HSVhsv(245, 74%, 56%)
CMYKcmyk(68.1%, 74.3%, 0%, 43.5%)
CIE-LABlab(23.40, 37.97, -57.38)
CIE-LCHlch(23.40, 68.81, 303.49°)
OKLaboklab(35.6% 0.0216 -0.1657)
OKLCHoklch(35.6% 0.167 277.4)
XYZxyz(6.8207, 3.9170, 26.7768)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2590 #879025
analogous
#255190 #2E2590 #632590
triadic
#2E2590 #902E25 #25902E
tetradic
#2E2590 #902551 #879025 #259063
square
#2E2590 #902551 #879025 #259063
split-complementary
#2E2590 #906325 #519025
monochromatic
#0F0C2F #1E185F #2E2590 #3E32C1 #655BD5

Accessibility & contrast

On white

11.77
#2E2590 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2E2590 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2590
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2590#FFFFFF#000000##FFFFFF
##2E25901.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C93
Deuteranopia (green-blind)
#00338E
Tritanopia (blue-blind)
#004358
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2e2590;
/* rgb */ color: rgb(46, 37, 144);
/* oklch */ color: oklch(35.6% 0.167 277.4);
Tailwind
colors: {
  custom: {
    50: '#7561b2',
    500: '#2e2590',
    950: '#000000',
  },
}
SCSS
$custom: #2e2590;
$custom-light: #7561b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2590",
  "rgb": {
    "r": 46,
    "g": 37,
    "b": 144
  },
  "hsl": {
    "h": 245.047,
    "s": 59.116,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35596,
    "c": 0.16713,
    "h": 277.4
  },
  "luminance": 0.03918
}

Semantic roles & 50–950 ramp

primary
#2E2590
secondary
#B1B957
accent
#E245D5
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #2E2590

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

Preview Lab → · Contrast checker → · Palette generator →

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