#2E2598#2E2598

#2E2598 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.4% C 0.177 H 276.4°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#2E2598
RGBrgb(46, 37, 152)
HSLhsl(245, 61%, 37%)
HSVhsv(245, 76%, 60%)
CMYKcmyk(69.7%, 75.7%, 0%, 40.4%)
CIE-LABlab(24.23, 40.63, -60.95)
CIE-LCHlch(24.23, 73.25, 303.69°)
OKLaboklab(36.44% 0.0199 -0.1761)
OKLCHoklch(36.44% 0.177 276.4)
XYZxyz(7.4539, 4.1703, 30.1118)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2598 #8F9825
analogous
#255598 #2E2598 #682598
triadic
#2E2598 #982E25 #25982E
tetradic
#2E2598 #982555 #8F9825 #259868
square
#2E2598 #982555 #8F9825 #259868
split-complementary
#2E2598 #986825 #559825
monochromatic
#100D36 #1F1967 #2E2598 #3D31C9 #695FD8

Accessibility & contrast

On white

11.45
#2E2598 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2598
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2598#FFFFFF#000000##FFFFFF
##2E25981.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9B
Deuteranopia (green-blind)
#003596
Tritanopia (blue-blind)
#00465D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2e2598;
/* rgb */ color: rgb(46, 37, 152);
/* oklch */ color: oklch(36.4% 0.177 276.4);
Tailwind
colors: {
  custom: {
    50: '#7762b7',
    500: '#2e2598',
    950: '#000000',
  },
}
SCSS
$custom: #2e2598;
$custom-light: #7762b7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2598",
  "rgb": {
    "r": 46,
    "g": 37,
    "b": 152
  },
  "hsl": {
    "h": 244.696,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36435,
    "c": 0.17726,
    "h": 276.4
  },
  "luminance": 0.04171
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E2598

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

Preview Lab → · Contrast checker → · Palette generator →

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